1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-24 03:54:20 +00:00

Pycharm strikes again

This commit is contained in:
Steffo 2019-02-10 14:48:38 +01:00
parent cbd6633b45
commit 6375e10ca1

View file

@ -510,6 +510,7 @@ def on_callback_query(bot: telegram.Bot, update: telegram.Update):
sentry.captureException() sentry.captureException()
finally: finally:
try: try:
# noinspection PyUnboundLocalVariable
session.close() session.close()
except Exception: except Exception:
pass pass