From: john Date: Sat, 6 Jun 2015 21:35:30 +0000 (-0700) Subject: Fixed character encoding. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6d927a9aae25e3cbc191bfece3a24c60d2aaa045;p=tweepy.git Fixed character encoding. --- diff --git a/tweepy/streaming.py b/tweepy/streaming.py index 0d7f742..d0b2feb 100644 --- a/tweepy/streaming.py +++ b/tweepy/streaming.py @@ -424,7 +424,7 @@ class Stream(object): if languages: self.body['language'] = u','.join(map(str, languages)) if filter_level: - self.body['filter_level'] = filter_level + self.body['filter_level'] = unicode(filter_level, encoding) self.session.params = {'delimited': 'length'} self.host = 'stream.twitter.com' self._start(async)