Unverified Commit 09818085 authored by Aaron Hill's avatar Aaron Hill
Browse files

Properly encode filter_level

Closes #782
parent 254c63d5
......@@ -446,7 +446,7 @@ class Stream(object):
if languages:
self.body['language'] = u','.join(map(str, languages))
if filter_level:
self.body['filter_level'] = unicode(filter_level, encoding)
self.body['filter_level'] = filter_level.encode(encoding)
self.session.params = {'delimited': 'length'}
self.host = 'stream.twitter.com'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment