Skip to content

Commit

Permalink
Merge pull request #84 from andresdelfino/fix_wizzard_typo
Browse files Browse the repository at this point in the history
Fix wizzard typo
  • Loading branch information
WinnaZ authored Jun 23, 2024
2 parents 47c7ccb + 6cf3848 commit 939a811
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pycamp_bot/commands/schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/pycamp_bot/commands/wizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 939a811

Please sign in to comment.