fix: Corrected a missing elif that was causing duplicated output when --uuid was specified

This commit is contained in:
Alex Kelly 2021-08-26 15:32:49 -04:00
parent a792cf8a50
commit 2e18e6f232

View file

@ -56,7 +56,7 @@ def main(uuid, header, sort):
for entry in entries: for entry in entries:
if entry["project"] == project and uuid: if entry["project"] == project and uuid:
print(f'\t* {entry["description"]} ({entry["uuid"]})') print(f'\t* {entry["description"]} ({entry["uuid"]})')
if entry["project"] == project: elif entry["project"] == project:
print(f'\t* {entry["description"]}') print(f'\t* {entry["description"]}')