Revision: 5648 Author: jayvdb Date: 2008-06-29 03:40:16 +0000 (Sun, 29 Jun 2008)
Log Message: ----------- handle spaces in the local djvu filename
Modified Paths: -------------- trunk/pywikipedia/djvutext.py
Modified: trunk/pywikipedia/djvutext.py =================================================================== --- trunk/pywikipedia/djvutext.py 2008-06-28 12:40:08 UTC (rev 5647) +++ trunk/pywikipedia/djvutext.py 2008-06-29 03:40:16 UTC (rev 5648) @@ -56,7 +56,7 @@ self.ask = False
def NoOfImages(self): - cmd = "djvused -e 'n' %s" % (self.djvu) + cmd = "djvused -e 'n' "%s"" % (self.djvu) count = os.popen( cmd ).readline().rstrip() #count = count[:-1] print "page count = %s" % count