Skip to content

Commit e9de95f

Browse files
authored
Merge pull request #48 from freedomofpress/remove-ipdb
Remove ipdb
2 parents d2c83ac + c0b4374 commit e9de95f

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

trackthenews/core.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,8 @@ def tweet(self):
145145
content = "{}{} {}".format(source, title, self.url)
146146

147147
twitter = get_twitter_client()
148-
try:
149-
twitter.create_tweet(text=content, media_ids=media_ids)
150-
except tweepy.errors.TweepyException as e:
151-
import ipdb
152148

153-
ipdb.set_trace()
154-
pass
149+
twitter.create_tweet(text=content, media_ids=media_ids)
155150

156151
self.tweeted = True
157152

0 commit comments

Comments
 (0)