Skip to content
Snippets Groups Projects
Commit 15e4ed5f authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Merge branch '59_fix_use_of_f_string' into 'master'

Use format string rather than f string in bootstrap.py

Closes #59

See merge request !173
parents 2e57d616 271359ff
No related branches found
No related tags found
1 merge request!173Use format string rather than f string in bootstrap.py
Pipeline #44365 passed
......@@ -338,7 +338,9 @@ def get_channels(public, stable, server, intranet, group):
channels_dict["private/stable"] = channels[-1]
upload_channel = channels_dict[
f"{'public' if public else 'private'}/{'stable' if stable else 'beta'}"
"{}/{}".format(
"public" if public else "private", "stable" if stable else "beta"
)
]
return channels, upload_channel
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment