mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 03:26:16 +00:00
Submitted to PyLint
This commit is contained in:
parent
7ed3b455dd
commit
de2d72e5de
7 changed files with 591 additions and 710 deletions
|
@ -45,7 +45,7 @@ class CompileTheme():
|
|||
print("No sass file found!")
|
||||
sys.exit(1)
|
||||
|
||||
with open(os.path.join(css_dest, 'style.css'), encoding='utf-8') as file:
|
||||
with open(os.path.join(css_dest, 'style.css'), 'w', encoding='utf-8') as file:
|
||||
try:
|
||||
file.write(sass.compile(filename=sass_path,output_style='compressed'))
|
||||
except sass.CompileError as err:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue