]> jfr.im git - z_archive/twitter.git/blobdiff - twitter/cmdline.py
Merge branch 'master' into py3-2
[z_archive/twitter.git] / twitter / cmdline.py
index 95b0ffa9335011409e1e85c1abfed4d0282a9f60..fdf01fc4c0a558d47d90eef654a0ea360e42e379 100644 (file)
@@ -371,7 +371,7 @@ class SearchAction(Action):
         # We need to bypass the TwitterCall parameter encoding, so we
         # don't encode the plus sign, so we have to encode it ourselves
         query_string = "+".join(
-            [quote(term.decode(get_term_encoding()))
+            [quote(term)
              for term in options['extra_args']])
 
         results = twitter.search(q=query_string)['results']