From 2e18e6f23228edf3d9fccb5e025429e67e144a1e Mon Sep 17 00:00:00 2001 From: Alex Kelly Date: Thu, 26 Aug 2021 15:32:49 -0400 Subject: [PATCH] fix: Corrected a missing elif that was causing duplicated output when --uuid was specified --- task_status/task_status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/task_status/task_status.py b/task_status/task_status.py index 00adf05..f7d4cf8 100755 --- a/task_status/task_status.py +++ b/task_status/task_status.py @@ -56,7 +56,7 @@ def main(uuid, header, sort): for entry in entries: if entry["project"] == project and uuid: print(f'\t* {entry["description"]} ({entry["uuid"]})') - if entry["project"] == project: + elif entry["project"] == project: print(f'\t* {entry["description"]}')