소스 검색

fix ffmpeg example

Falko Schindler 2 년 전
부모
커밋
cc6e811fac
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      examples/ffmpeg_extract_images/main.py

+ 1 - 1
examples/ffmpeg_extract_images/main.py

@@ -33,7 +33,7 @@ async def handle_upload(args: events.UploadEventArguments):
         ui.notify('Please upload a video file')
     upload.run_method('reset')
 
-
+os.makedirs('data', exist_ok=True)
 app.add_static_files('/data', 'data')
 
 with ui.column().classes('w-full items-center'):