Revision: 7649 Author: alexsh Date: 2009-11-15 13:13:48 +0000 (Sun, 15 Nov 2009)
Log Message: ----------- sorry, forget to fix it.
Modified Paths: -------------- trunk/pywikipedia/upload.py
Modified: trunk/pywikipedia/upload.py =================================================================== --- trunk/pywikipedia/upload.py 2009-11-15 12:53:13 UTC (rev 7648) +++ trunk/pywikipedia/upload.py 2009-11-15 13:13:48 UTC (rev 7649) @@ -105,7 +105,7 @@ dt = 15
while not self._retrieved: - uo = wikipedia.MyURLopener() + uo = wikipedia.MyURLopener if resume: wikipedia.output(u"Resume download...") uo.addheader('Range', 'bytes=%s-' % rlen)