projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
554bbe9
)
Use STREAM_VERSION in userstream endpoint
author
Aaron Hill
<aa1ronham@gmail.com>
Tue, 21 Jan 2014 00:28:47 +0000
(19:28 -0500)
committer
Aaron Hill
<aa1ronham@gmail.com>
Tue, 21 Jan 2014 00:28:47 +0000
(19:28 -0500)
tweepy/streaming.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/streaming.py
b/tweepy/streaming.py
index 61b3021c843a2275a30ea09844d6b403f4d69fd8..a95c0b4c47e373b03d6cbb3e327e711e6bf4b2db 100644
(file)
--- a/
tweepy/streaming.py
+++ b/
tweepy/streaming.py
@@
-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)