From 9192f618119b9b05ffb9271cc2818bfba30b8fad Mon Sep 17 00:00:00 2001 From: Zhao Zuohong Date: Sun, 5 Mar 2023 00:26:02 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20Small=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/__init__.py | 4 +++- manager/__init__.py | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/__init__.py b/backend/__init__.py index ccdf70d..41fafc8 100644 --- a/backend/__init__.py +++ b/backend/__init__.py @@ -38,7 +38,9 @@ def download(): @app.get("/path") def get_path(): - result = webview.active_window().create_file_dialog(dialog_type=webview.FOLDER_DIALOG) + result = webview.active_window().create_file_dialog( + dialog_type=webview.FOLDER_DIALOG + ) if result: manager.path = result[0] return manager.path diff --git a/manager/__init__.py b/manager/__init__.py index 9e98aa5..9ff253f 100644 --- a/manager/__init__.py +++ b/manager/__init__.py @@ -46,7 +46,6 @@ class Manager: def download(self): parent_dir = Path(self.path) for video in self.video_list: - print(video) self.queue.put(video) Thread(target=self.download_worker, args=(parent_dir,)).start()