Revision: 3983 Author: valhallasw Date: 2007-08-07 12:45:08 +0000 (Tue, 07 Aug 2007)
Log Message: ----------- fixed UploadRobot constructor
Modified Paths: -------------- trunk/pywikipedia/upload.py
Modified: trunk/pywikipedia/upload.py =================================================================== --- trunk/pywikipedia/upload.py 2007-08-07 01:23:41 UTC (rev 3982) +++ trunk/pywikipedia/upload.py 2007-08-07 12:45:08 UTC (rev 3983) @@ -1,4 +1,4 @@ -# -*- coding: utf-8 -*- +# -*- coding: utf-8 -*- """ Script to upload images to wikipedia.
@@ -262,7 +262,7 @@ else: description.append(arg) description = u' '.join(description) - bot = UploadRobot(url, description, keepFilename, verifyDescription) + bot = UploadRobot(url, description=description, keepFilename=keepFilename, verifyDescription=verifyDescription) bot.run()
if __name__ == "__main__":
pywikipedia-l@lists.wikimedia.org