fix for extensions without style.css
This commit is contained in:
parent
50b5504401
commit
1cd3ed7def
1 changed files with 3 additions and 0 deletions
|
@ -1639,6 +1639,9 @@ Requested path was: {f}
|
|||
css = ""
|
||||
|
||||
for cssfile in modules.scripts.list_files_with_name("style.css"):
|
||||
if not os.path.isfile(cssfile):
|
||||
continue
|
||||
|
||||
with open(cssfile, "r", encoding="utf8") as file:
|
||||
css += file.read() + "\n"
|
||||
|
||||
|
|
Loading…
Reference in a new issue