From 48aadb5b1c05a900aeb89e8f560292bcbef35f6a Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 6 Oct 2021 10:06:51 +0200 Subject: [PATCH] Correct syntax error in previous change I would have sworn that I had tested that. --- hubsrht/blueprints/trackers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hubsrht/blueprints/trackers.py b/hubsrht/blueprints/trackers.py index 02e78e3..9eab5c9 100644 --- a/hubsrht/blueprints/trackers.py +++ b/hubsrht/blueprints/trackers.py @@ -89,7 +89,7 @@ def new_POST(owner, project_name): tracker.owner_id = owner.id tracker.name = remote_tracker["name"] tracker.description = remote_tracker["description"] - if any(remote_tracker["default_access"]: + if any(remote_tracker["default_access"]): tracker.visibility = Visibility.public else: tracker.visibility = Visibility.unlisted