From: Edward Delaporte Date: Mon, 23 Mar 2026 23:21:57 +0000 (-0500) Subject: Fixup X-Git-Url: https://apps.delaporte.us/gitweb/matrix-goal-bot.git/commitdiff_plain/6ccc70cb5cedd13170bac22b7efe6d0874e62a03 Fixup --- diff --git a/bot.py b/bot.py index b8f8f0c..0ac709e 100644 --- a/bot.py +++ b/bot.py @@ -54,8 +54,9 @@ async def do_goal(match): return [result] if match.command('print'): - goal_id = new = match.args()[1] - goal,tasks = Data().get_goal(id) + goal_id = int(match.args()[1]) + logger.debug(f'Searching for goal {goal_id}...') + goal,tasks = Data().get_goal(goal_id) results = [] results.append(f' ## {goal}')