From: Matthew Vernon Date: Mon, 17 Jun 2013 16:06:19 +0000 (+0100) Subject: make twit less chatty to stdout X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~matthewv/git?p=irc.git;a=commitdiff_plain;h=e2b42080d49e7071c20e2ffe67704dd60e6677de make twit less chatty to stdout --- diff --git a/commands.py b/commands.py index 140d7c5..640c694 100755 --- a/commands.py +++ b/commands.py @@ -506,7 +506,7 @@ def getTweet(urlstring,twitapi): tweetID = parts[-1] try: status = twitapi.GetStatus(tweetID) - print status, type(status), status=={} + #print status, type(status), status=={} if status == {}: return "twitapi.GetStatus returned nothing :-(" if status.user == None and status.text == None: