main.py: fix broken printf format specifier from 4e4a4694d2
authorJacob Lifshay <programmerjake@gmail.com>
Mon, 4 Dec 2023 21:27:04 +0000 (13:27 -0800)
committerJacob Lifshay <programmerjake@gmail.com>
Mon, 4 Dec 2023 21:27:04 +0000 (13:27 -0800)
src/budget_sync/main.py

index d646556c6c3959856ee7068b803350c19cc2752d..b76e6af8970a39e86739c474b6b84533ffe42b43 100644 (file)
@@ -184,7 +184,7 @@ def json_milestones(budget_graph: BudgetGraph, add_comments: bool,
                 comments = bugzilla.get_comments(cur_need)['bugs']
                 if len(comments) < len(cur_need) and len(cur_need) > 1:
                     step = max(1, step // 2)
-                    print("failed, trying smaller step of %" % step,
+                    print("failed, trying smaller step of %d" % step,
                           flush=True, file=term)
                     continue
                 bug_comments_map.update(comments)