[Pywikipedia-svn] SVN: [7204] trunk/pywikipedia/flickrripper.py

alexsh at svn.wikimedia.org alexsh at svn.wikimedia.org
Thu Sep 3 16:48:28 UTC 2009


Revision: 7204
Author:   alexsh
Date:     2009-09-03 16:48:28 +0000 (Thu, 03 Sep 2009)

Log Message:
-----------
typo

Modified Paths:
--------------
    trunk/pywikipedia/flickrripper.py

Modified: trunk/pywikipedia/flickrripper.py
===================================================================
--- trunk/pywikipedia/flickrripper.py	2009-09-03 16:47:53 UTC (rev 7203)
+++ trunk/pywikipedia/flickrripper.py	2009-09-03 16:48:28 UTC (rev 7204)
@@ -98,12 +98,12 @@
     sha1Hash = base64.b16encode(hashObject.digest())
 
     params = {
-	'action'    : 'query',
+        'action'    : 'query',
         'list'      : 'allimages',
         'aisha1'    : sha1Hash,
         'aiprop'    : '',
     }
-    data = query.GetData(params, site=wikipedia.getSite(), useAPI = True, encodeTitle = False)
+    data = query.GetData(params, wikipedia.getSite(), encodeTitle = False)
     for image in data['query']['allimages']:
         result.append(image['name'])
     return result





More information about the Pywikipedia-svn mailing list