Revision: 5969
Author: jayvdb
Date: 2008-10-14 23:24:04 +0000 (Tue, 14 Oct 2008)
Log Message:
-----------
Help update: param "index" is now optional
Modified Paths:
--------------
trunk/pywikipedia/djvutext.py
Modified: trunk/pywikipedia/djvutext.py
===================================================================
--- trunk/pywikipedia/djvutext.py 2008-10-14 19:22:40 UTC (rev 5968)
+++ trunk/pywikipedia/djvutext.py 2008-10-14 23:24:04 UTC (rev 5969)
@@ -10,8 +10,9 @@
what would have been changed.
-ask Ask for confirmation before uploading each page.
(Default: ask when overwriting pages)
+ -djvu:... Filename of the djvu file
-index:... Name of the index page
- -djvu:... Filename of the djvu file
+ (Default: the djvu filename)
-pages:<start>-<end> Page range to upload; <end> is optional
All other parameters will be regarded as part of the title of a single page,
@@ -122,7 +123,7 @@
return False
def get_page(self, pageno):
- wikipedia.output("fetching page %d" % (pageno))
+ wikipedia.output(unicode("fetching page %d" % (pageno)))
cmd = "djvutxt -page=%d \"%s\" \"%s.out\"" %
(pageno, self.djvu, self.djvu)
os.system ( cmd )
Show replies by date