[check] some fixes

This commit is contained in:
levina 2022-02-25 14:00:04 +07:00 committed by GitHub
parent 03a160830f
commit 3b0c614dd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 !')