diff --git a/.gitignore b/.gitignore index f6ddfd9..d532c87 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,6 @@ logs/ edt edt.* token.ini + +# PyCharm +.idea/ diff --git a/bot.py b/bot.py index 2a7fbb4..e5df0d3 100644 --- a/bot.py +++ b/bot.py @@ -178,7 +178,7 @@ async def kfet(message: types.Message): cmds = requests.get(KFET_URL).json() if cmds: for c in cmds: - msg += markdown.code(c) + " " if cmds[c]["statut"] == "ok" else "" + msg += markdown.code(c) + " " if cmds[c] == "ok" else "" await message.reply(msg, parse_mode=ParseMode.MARKDOWN)