[check] some fixes
This commit is contained in:
parent
03a160830f
commit
3b0c614dd9
@ -90,5 +90,6 @@ async def get_bot_logs(c: Client, m: Message):
|
|||||||
remove_if_exists(bot_log_path)
|
remove_if_exists(bot_log_path)
|
||||||
except BaseException as err:
|
except BaseException as err:
|
||||||
LOGS.info(f'[ERROR]: {err}')
|
LOGS.info(f'[ERROR]: {err}')
|
||||||
if not os.path.exists(bot_log_path):
|
else:
|
||||||
await m.reply_text('❌ no logs found !')
|
if not os.path.exists(bot_log_path):
|
||||||
|
await m.reply_text('❌ no logs found !')
|
||||||
|
Loading…
Reference in New Issue
Block a user