Correct syntax error in previous change

I would have sworn that I had tested that.
master 0.13.15
Drew DeVault 1 year ago
parent af1c1b3797
commit 48aadb5b1c
  1. 2
      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

Loading…
Cancel
Save