mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Pycharm strikes again
This commit is contained in:
parent
cbd6633b45
commit
6375e10ca1
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue