Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zahra Rajabi
tweepy
Commits
d1c722ca
Commit
d1c722ca
authored
Jan 20, 2014
by
Aaron Hill
Browse files
Use STREAM_VERSION in userstream endpoint
parent
554bbe94
Changes
1
Hide whitespace changes
Inline
Side-by-side
tweepy/streaming.py
View file @
d1c722ca
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment