Add forward slash support in tweepy.utils.urlencode_noplus
authorAaron Hill <aa1ronham@gmail.com>
Wed, 12 Jun 2013 01:20:06 +0000 (21:20 -0400)
committerAaron Hill <aa1ronham@gmail.com>
Wed, 12 Jun 2013 01:20:06 +0000 (21:20 -0400)
tweepy/utils.py

index 52c6c79b94a2143bb7289b804731851617d8a743..46e5ac13169c084e201a520c59612762bb5ce2e4 100644 (file)
@@ -98,6 +98,5 @@ def list_to_csv(item_list):
         return ','.join([str(i) for i in item_list])
 
 def urlencode_noplus(query):
-    return '&'.join(['%s=%s' % (quote(str(k)), quote(str(v))) \
+    return '&'.join(['%s=%s' % (quote(str(k), ''), quote(str(v), '')) \
         for k, v in query.iteritems()])
-