[flickrpy] r51 committed - Fixed issue 21. For some reason, the method ends up in params. I remov...

2 views
Skip to first unread message

flic...@googlecode.com

unread,
Feb 3, 2011, 3:23:10 PM2/3/11
to flickrp...@googlegroups.com
Revision: 51
Author: vacariu.v
Date: Thu Feb 3 12:22:29 2011
Log: Fixed issue 21. For some reason, the method ends up in params. I
removed it from the url, so that it's only in one place.
http://code.google.com/p/flickrpy/source/detail?r=51

Modified:
/trunk/flickr.py

=======================================
--- /trunk/flickr.py Thu Feb 3 11:14:29 2011
+++ /trunk/flickr.py Thu Feb 3 12:22:29 2011
@@ -1088,8 +1088,8 @@
#print "***** do post %s" % method

params = _prepare_params(params)
- url = '%s%s/?api_key=%s&method=%s&%s'% \
- (HOST, API, API_KEY, method, _get_auth_url_suffix(method, auth,
params))
+ url = '%s%s/?api_key=%s%s'% \
+ (HOST, API, API_KEY, _get_auth_url_suffix(method, auth, params))

# There's no reason this can't be str(urlencode(params)). I just
wanted to
# have it the same as the rest.

Reply all
Reply to author
Forward
0 new messages