Commit 37eedbcd authored by Joshua Roesslein's avatar Joshua Roesslein
Browse files

Fix userstreams. Use delimited!

parent 0d3ea5cd
......@@ -176,12 +176,11 @@ class Stream(object):
def userstream(self, count=None, async=False, secure=True):
self.parameters = {'delimited': 'length'}
if self.running:
raise TweepError('Stream object already connected!')
self.url = '/2/user.json'
self.url = '/2/user.json?delimited=length'''
if count:
self.url += '&count=%s' % count
def firehose(self, count=None, async=False):
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