fixed assets bug
Browse files- App/Worker.py +1 -2
App/Worker.py
CHANGED
@@ -26,8 +26,7 @@ def worker_process_init_handler(**kwargs):
|
|
26 |
@celery.task
|
27 |
def create_json_file(assets: List[Assets], asset_dir: str):
|
28 |
for asset in assets:
|
29 |
-
filename = f"{asset.type}Sequences.json"
|
30 |
-
filename = filename.capitalize()
|
31 |
# Convert dictionary to JSON string
|
32 |
json_string = json.dumps(asset.sequence)
|
33 |
|
|
|
26 |
@celery.task
|
27 |
def create_json_file(assets: List[Assets], asset_dir: str):
|
28 |
for asset in assets:
|
29 |
+
filename = f"{asset.type.capitalize()}Sequences.json"
|
|
|
30 |
# Convert dictionary to JSON string
|
31 |
json_string = json.dumps(asset.sequence)
|
32 |
|