From 023e0979c60d0d7e2df2102ea64a6799b0ffe4f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Sun, 29 Jan 2017 17:51:44 -0600 Subject: [PATCH] Fixed a typo --- src/long_tweets/twishort.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/long_tweets/twishort.py b/src/long_tweets/twishort.py index 8614d8b5..1b304f33 100644 --- a/src/long_tweets/twishort.py +++ b/src/long_tweets/twishort.py @@ -44,7 +44,7 @@ def is_long(tweet): if long == False and tweet.has_key("retweeted_status"): for url in range(0, len(tweet["retweeted_status"]["entities"]["urls"])): try: - if tweet["entities"]["urls"][url] != None and "twishort.com" in tweet["retweeted_status"]["entities"]["urls"][url]["expanded_url"]: + if tweet["retweeted_status"]["entities"]["urls"][url] != None and "twishort.com" in tweet["retweeted_status"]["entities"]["urls"][url]["expanded_url"]: long = get_twishort_uri(tweet["retweeted_status"]["entities"]["urls"][url]["expanded_url"]) except IndexError: pass