Skip to content

Commit

Permalink
Fix creation of themes.json
Browse files Browse the repository at this point in the history
  • Loading branch information
GilbN committed Oct 14, 2024
1 parent dc6f65e commit 2312939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def create_css(theme, theme_type="standard"):
else:
with open("CNAME", "rt", closefd=True) as cname:
CNAME = cname.readline()
DOMAIN = f"{branch}.{CNAME}" if branch else CNAME
DOMAIN = f"{branch}.{CNAME}" if branch not in ["master","main"] else CNAME
apps = loads(create_json(app_folders=app_folders, themes=themes, community_themes=community_themes, docker_mods=docker_mods))
with open("themes.json", "w") as outfile:
dump(apps, outfile, indent=2, sort_keys=True)
Expand Down

0 comments on commit 2312939

Please sign in to comment.