minor changes to ensure streaming.py doesn't throw an IndentationError
This commit is contained in:
parent
a3159bd6a7
commit
e262e80b23
1 changed files with 3 additions and 2 deletions
|
|
@ -42,9 +42,9 @@ except ImportError:
|
|||
class TwythonStreamingError(Exception):
|
||||
def __init__(self, msg):
|
||||
self.msg = msg
|
||||
|
||||
|
||||
def __str__(self):
|
||||
return "%s" % str(self.msg)
|
||||
return str(self.msg)
|
||||
|
||||
feeds = {
|
||||
"firehose": "http://stream.twitter.com/firehose.json",
|
||||
|
|
@ -58,3 +58,4 @@ feeds = {
|
|||
|
||||
class Stream(object):
|
||||
def __init__(self, username = None, password = None, feed = "spritzer", user_agent = "Twython Streaming"):
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue