horiyouta commited on
Commit
d814a30
·
1 Parent(s): f65570a

2410191352

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -109,7 +109,7 @@ async def sb3(req_data: TextRequest):
109
  zip_file.writestr('project.json', json.dumps(project).encode('utf-8'))
110
 
111
  # mmp4.zipの他のファイルもコピー
112
- with zipfile.ZipFile('mmp4.zip', 'r') as template_zip:
113
  for item in template_zip.infolist():
114
  if item.filename != 'project.json':
115
  zip_file.writestr(item.filename, template_zip.read(item.filename))
 
109
  zip_file.writestr('project.json', json.dumps(project).encode('utf-8'))
110
 
111
  # mmp4.zipの他のファイルもコピー
112
+ with zipfile.ZipFile(Path('public').joinpath('mmp4.zip').resolve(), 'r') as template_zip:
113
  for item in template_zip.infolist():
114
  if item.filename != 'project.json':
115
  zip_file.writestr(item.filename, template_zip.read(item.filename))