We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 695ece7 commit f2a53c0Copy full SHA for f2a53c0
src/classes/assets.py
@@ -53,10 +53,10 @@ def get_assets_path(file_path=None, create_paths=True):
53
if create_paths:
54
55
if not os.path.exists(asset_path):
56
- if os.path.exists(asset_folder_name_30_char):
+ if os.path.exists(asset_path_30_char):
57
#update assets folder, if it follows the previous naming convention
58
try:
59
- shutil.copytree(asset_folder_name_30_char, asset_folder_name)
+ shutil.copytree(asset_path_30_char, asset_path)
60
log.info("Copying shortened asset folder. {}".format(asset_path))
61
except:
62
log.error("Could not make a copy of assets folder")
0 commit comments