From 0258a45ff138894d7f84decbacdeba302cc91cc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tina=20M=C3=BCller?= Date: Tue, 19 Mar 2024 17:47:32 +0100 Subject: [PATCH] Fix logic for --reminder-comment-on-issues `store_false` will actually turn the switch *off* when used, so the logic was reversed. Apparently this is broken since b260dbbb0f58a0c2a81583aaf1ac81a6ad3ecca4 Issue: https://progress.opensuse.org/issues/157522 --- backlogger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backlogger.py b/backlogger.py index 338b22a..8f4cdfa 100755 --- a/backlogger.py +++ b/backlogger.py @@ -275,7 +275,7 @@ def trigger_webhook(state, bad_queries): parser.add_argument( "--output", choices=["markdown", "influxdb"], default="markdown" ) - parser.add_argument("--reminder-comment-on-issues", action="store_false") + parser.add_argument("--reminder-comment-on-issues", action="store_true") parser.add_argument("--exit-code", action="store_true") switches = parser.parse_args() try: