projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bad33da
)
Fixed character encoding.
author
john
<john@m.urray.com>
Sat, 6 Jun 2015 21:35:30 +0000
(14:35 -0700)
committer
john
<john@m.urray.com>
Sat, 6 Jun 2015 21:35:30 +0000
(14:35 -0700)
tweepy/streaming.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/streaming.py
b/tweepy/streaming.py
index 0d7f74298579c7a0c43faeb270699078e31924a6..d0b2feb318e02d99331396e4e2c8ffe960334cda 100644
(file)
--- 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)