Revision: 8336 Author: filnik Date: 2010-06-26 11:57:06 +0000 (Sat, 26 Jun 2010)
Log Message: ----------- Bugfix duplicates
Modified Paths: -------------- trunk/pywikipedia/checkimages.py
Modified: trunk/pywikipedia/checkimages.py =================================================================== --- trunk/pywikipedia/checkimages.py 2010-06-26 10:07:01 UTC (rev 8335) +++ trunk/pywikipedia/checkimages.py 2010-06-26 11:57:06 UTC (rev 8336) @@ -1755,9 +1755,9 @@ imageData = image image = imageData[0] #20100511133318L --- 15:33, 11 mag 2010 e 18 sec - b = str(imageData[1]) # use b as variable to make smaller the timestamp-formula used below.. + #b = str(imageData[1]) # use b as variable to make smaller the timestamp-formula used below.. # fixing the timestamp to the format that we normally use.. - timestamp = "%s-%s-%sT%s:%s:%sZ" % (b[0:4], b[4:6], b[6:8], b[8:10], b[10:12], b[12:14]) + timestamp = imageData[1]#"%s-%s-%sT%s:%s:%sZ" % (b[0:4], b[4:6], b[6:8], b[8:10], b[10:12], b[12:14]) uploader = imageData[2] comment = imageData[3] # useless, in reality.. else:
pywikipedia-svn@lists.wikimedia.org