forked from ticketfrei/ticketfrei
Compare commits
No commits in common. "fix-none-error" and "csrf" have entirely different histories.
fix-none-e
...
csrf
|
@ -73,7 +73,7 @@ class TwitterBot(Bot):
|
||||||
def post(self, user, report):
|
def post(self, user, report):
|
||||||
try:
|
try:
|
||||||
api = self.get_api(user)
|
api = self.get_api(user)
|
||||||
except TypeError:
|
except IndexError:
|
||||||
return # no twitter account for this user.
|
return # no twitter account for this user.
|
||||||
try:
|
try:
|
||||||
if report.source == self:
|
if report.source == self:
|
||||||
|
|
Loading…
Reference in a new issue