Commit d1c722ca authored by Aaron Hill's avatar Aaron Hill
Browse files

Use STREAM_VERSION in userstream endpoint

parent 554bbe94
......@@ -243,7 +243,7 @@ class Stream(object):
self.parameters = {'delimited': 'length'}
if self.running:
raise TweepError('Stream object already connected!')
self.url = '/2/user.json?delimited=length'
self.url = '/%s/user.json?delimited=length' % STREAM_VERSION
self.host='userstream.twitter.com'
self._start(async)
......
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