From 96b2d4a01a845376ba7ffa179bd600a191b61b4b Mon Sep 17 00:00:00 2001 From: julbean <138324323+julbean@users.noreply.github.com> Date: Sun, 29 Dec 2024 04:16:36 -0800 Subject: [PATCH] Update describealign.py Fixed bug where GUI would not accept directories as file inputs --- describealign.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/describealign.py b/describealign.py index dea1c2c..76995c4 100644 --- a/describealign.py +++ b/describealign.py @@ -1202,7 +1202,11 @@ def main_gui(): window.enable() continue video_files = values['-VIDEO_FILES-'].split(';') + if len(video_files) == 1: + video_files = video_files[0] audio_files = values['-AUDIO_FILES-'].split(';') + if len(audio_files) == 1: + audio_files = audio_files[0] combine_gui(video_files, audio_files, config_path) if event == 'Settings': window.disable()