Submitted to PyLint

This commit is contained in:
Michał Gdula 2023-03-04 21:08:42 +00:00
parent 7ed3b455dd
commit de2d72e5de
7 changed files with 591 additions and 710 deletions

View file

@ -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: