Fix pycodestyle

This commit is contained in:
Aarni Halinen
2019-02-08 19:10:36 +02:00
parent 206ec80a9a
commit 3305704926
2 changed files with 5 additions and 4 deletions
+1
View File
@@ -7,6 +7,7 @@ import requests
from django.conf import settings
from kaehmy.models import TelegramChannel
class TelegramBot:
'''
A telegram bot api for whatever purposes
+1 -1
View File
@@ -57,7 +57,7 @@ def ohlhafv_submit(request, *args, **kwargs):
'url': url})
bot = TelegramBot()
bot.broadcast(tg_message)
except: # tg spam is not critical. Ignore on failure
except Exception: # tg spam is not critical. Ignore on failure
pass
logging.debug(