String, code cleanups.

This commit is contained in:
Bill Dengler
2015-05-13 20:40:21 -04:00
parent e92565013b
commit feda70aea8
3 changed files with 2 additions and 6 deletions

View File

@@ -68,10 +68,6 @@ def is_audio(tweet,force=False):
except:
log.exception("Exception while executing is_audio Codeofdusk algorithm.")
tweet['is_audio']=False
if len(tweet["entities"]["hashtags"]) > 0:
for i in tweet["entities"]["hashtags"]:
if i["text"] == "audio":
return True
return False
def is_geocoded(tweet):