fix: Sider

This commit is contained in:
Gavin D'souza 2020-09-07 17:05:28 +05:30
parent f975da1cbf
commit 1c3bc937d9

View file

@ -44,7 +44,7 @@ def build_missing_files():
for type in ["css", "js"]:
current_asset_files.extend(
[
"{0}/{0}".format(type, name)
"{0}/{1}".format(type, name)
for name in os.listdir(os.path.join(sites_path, "assets", type))
]
)
@ -136,7 +136,6 @@ def download_frappe_assets(verbose=True):
raise
except Exception:
assets_setup = False
print(frappe.get_traceback())
finally:
try:
shutil.rmtree(os.path.dirname(assets_archive))