Merge pull request #34 from jelsas/master
streaming.py was throwing an IndentationError
This commit is contained in:
commit
7441a535ee
1 changed files with 3 additions and 2 deletions
|
|
@ -42,9 +42,9 @@ except ImportError:
|
||||||
class TwythonStreamingError(Exception):
|
class TwythonStreamingError(Exception):
|
||||||
def __init__(self, msg):
|
def __init__(self, msg):
|
||||||
self.msg = msg
|
self.msg = msg
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return "%s" % str(self.msg)
|
return str(self.msg)
|
||||||
|
|
||||||
feeds = {
|
feeds = {
|
||||||
"firehose": "http://stream.twitter.com/firehose.json",
|
"firehose": "http://stream.twitter.com/firehose.json",
|
||||||
|
|
@ -58,3 +58,4 @@ feeds = {
|
||||||
|
|
||||||
class Stream(object):
|
class Stream(object):
|
||||||
def __init__(self, username = None, password = None, feed = "spritzer", user_agent = "Twython Streaming"):
|
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