mirror of https://git.sr.ht/~sircmpwn/hub.sr.ht
Correct syntax error in previous change
I would have sworn that I had tested that.
This commit is contained in:
parent
af1c1b3797
commit
48aadb5b1c
|
@ -89,7 +89,7 @@ def new_POST(owner, project_name):
|
||||||
tracker.owner_id = owner.id
|
tracker.owner_id = owner.id
|
||||||
tracker.name = remote_tracker["name"]
|
tracker.name = remote_tracker["name"]
|
||||||
tracker.description = remote_tracker["description"]
|
tracker.description = remote_tracker["description"]
|
||||||
if any(remote_tracker["default_access"]:
|
if any(remote_tracker["default_access"]):
|
||||||
tracker.visibility = Visibility.public
|
tracker.visibility = Visibility.public
|
||||||
else:
|
else:
|
||||||
tracker.visibility = Visibility.unlisted
|
tracker.visibility = Visibility.unlisted
|
||||||
|
|
Loading…
Reference in New Issue