1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +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()
finally:
try:
# noinspection PyUnboundLocalVariable
session.close()
except Exception:
pass