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):