From 6cf384876fd9ab202f8d17dfd84cdc027b4b4104 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Delfino?= Date: Sat, 22 Jun 2024 22:43:12 -0300 Subject: [PATCH] Fix wizzard typo --- src/pycamp_bot/commands/schedule.py | 2 +- src/pycamp_bot/commands/wizard.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pycamp_bot/commands/schedule.py b/src/pycamp_bot/commands/schedule.py index d4b163f..ae6d7c5 100644 --- a/src/pycamp_bot/commands/schedule.py +++ b/src/pycamp_bot/commands/schedule.py @@ -109,7 +109,7 @@ async def create_slot(update, context): new_slot.start = starting_hour pycampista = Pycampista.get_or_create(username=username, chat_id=chat_id)[0] - new_slot.current_wizzard = pycampista + new_slot.current_wizard = pycampista new_slot.save() times.pop(0) diff --git a/src/pycamp_bot/commands/wizard.py b/src/pycamp_bot/commands/wizard.py index b136cdc..6b61f11 100644 --- a/src/pycamp_bot/commands/wizard.py +++ b/src/pycamp_bot/commands/wizard.py @@ -198,7 +198,7 @@ async def notify_schedule_to_wizards(update, context, pycamp): await notify_scheduled_slots_to_wizard(update, context, pycamp, wizard, wizard_agenda) logger.debug("Notified wizard schedule to {}".format(wizard.username)) except BadRequest: - logger.warn("Coulnd't notify its wizzard schedule to {}".format(wizard.username)) + logger.warn("Coulnd't notify its wizard schedule to {}".format(wizard.username)) def persist_wizards_schedule_in_db(pycamp):