mirror of
https://github.com/imarkoff/Marble-shell-theme.git
synced 2025-09-24 12:16:34 -07:00
Fixed installation if in versions folder is missing css subfolder
Finally the single test was really useful
This commit is contained in:
@@ -27,9 +27,10 @@ def generate_file(folder, temp_folder, final_file):
|
|||||||
version_path = os.path.join(base_path, version_folder)
|
version_path = os.path.join(base_path, version_folder)
|
||||||
css_path = os.path.join(version_path, '.css')
|
css_path = os.path.join(version_path, '.css')
|
||||||
|
|
||||||
for css_file in os.listdir(css_path):
|
if os.path.exists(css_path):
|
||||||
with open(os.path.join(css_path, css_file)) as f:
|
for css_file in os.listdir(css_path):
|
||||||
opened_file.write(f.read() + '\n')
|
with open(os.path.join(css_path, css_file)) as f:
|
||||||
|
opened_file.write(f.read() + '\n')
|
||||||
|
|
||||||
for file in os.listdir(version_path):
|
for file in os.listdir(version_path):
|
||||||
if file.endswith('.svg'):
|
if file.endswith('.svg'):
|
||||||
|
Reference in New Issue
Block a user