typo
This commit is contained in:
2
bot.py
2
bot.py
@@ -43,7 +43,7 @@ async def update_bot(update, context):
|
||||
if err:
|
||||
_log.log_error(f'update_bot: {chat_id} error {err} while trying to update the app')
|
||||
return await update.message.reply_text('Errore durante l\'aggiornamento del Bot')
|
||||
err= _os.system('/usr/bin/systemctl --user start battle_royale.service')
|
||||
err= _os.system('/usr/bin/systemctl --user restart battle_royale.service')
|
||||
if err:
|
||||
_log.log_error(f'update_bot: {chat_id} error {err} while trying to upstart the app')
|
||||
return await update.message.reply_text('Errore durante il riavvio del Bot')
|
||||
|
||||
Reference in New Issue
Block a user