instructions
Browse files- App/Worker.py +1 -1
App/Worker.py
CHANGED
@@ -88,7 +88,7 @@ def create_constants_json_file(constants: Constants, asset_dir: str):
|
|
88 |
json_string = json.dumps({})
|
89 |
os.makedirs(asset_dir, exist_ok=True)
|
90 |
with open(instrunction_file, "w") as f:
|
91 |
-
if constants.
|
92 |
f.write(json.dumps({"frames": constants.frames}))
|
93 |
else:
|
94 |
f.write(json.dumps({"frames": [0, constants.duration]}))
|
|
|
88 |
json_string = json.dumps({})
|
89 |
os.makedirs(asset_dir, exist_ok=True)
|
90 |
with open(instrunction_file, "w") as f:
|
91 |
+
if constants.instructions:
|
92 |
f.write(json.dumps({"frames": constants.frames}))
|
93 |
else:
|
94 |
f.write(json.dumps({"frames": [0, constants.duration]}))
|