From d824c6ed3ca6c92174b7b71aad2ad72658c32e87 Mon Sep 17 00:00:00 2001 From: GilbN Date: Mon, 1 Nov 2021 22:14:40 +0000 Subject: [PATCH] deploy: 2edec5309296be0fa60bd8deb0e6678fd52ca111 --- themes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes.py b/themes.py index 7737e7c8..6ff8703d 100644 --- a/themes.py +++ b/themes.py @@ -133,7 +133,7 @@ def temporary_copy_files(): shutil.copytree(src,src_dst[src],dirs_exist_ok=True) def create_theme_options(): - def create_app(folder): + def create_css(folder): with open(f"{folder}/{app}/{theme.lower()}.css", "w") as create_app: content = f'@import url("{applications[app]["base_css"]}");\n@import url("{themes[theme]["url"]}");' create_app.write(content) @@ -145,7 +145,7 @@ def create_theme_options(): for theme in themes: folders = ["./CSS/themes","./css/base"] for folder in folders: - create_app(folder) + create_css(folder) if __name__ == "__main__":