Selaa lähdekoodia

fix ffmpeg example

Falko Schindler 2 vuotta sitten
vanhempi
säilyke
cc6e811fac
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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'):