Compare commits

...

2 Commits

Author SHA1 Message Date
b3yond cd3c8be2dc fixed wrong exception 2019-02-19 16:16:21 +01:00
b3yond 02f117a864
Merge pull request #82 from ticketfrei/csrf
Building in CSRF prevention
2019-01-27 17:56:53 +01:00
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ class TwitterBot(Bot):
def post(self, user, report):
try:
api = self.get_api(user)
except IndexError:
except TypeError:
return # no twitter account for this user.
try:
if report.source == self: