Mbonea commited on
Commit
d6b3bcf
1 Parent(s): 46e5f66

instructions

Browse files
Files changed (1) hide show
  1. 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.instrunctions:
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]}))