From c3f4c2d3ccae5458cf4e0cf433d73e26b6cd6291 Mon Sep 17 00:00:00 2001 From: rouggy Date: Wed, 26 Jan 2022 20:07:11 +0700 Subject: [PATCH] update --- filebot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filebot.py b/filebot.py index abee394..9487dc8 100644 --- a/filebot.py +++ b/filebot.py @@ -22,7 +22,7 @@ for section in section_folders: rar_file = glob(f"{os.path.join(source_path, section, dir, '')}*rar") if rar_file: print(f"Found rar file {rar_file}") - subprocess.run(["/usr/bin/unrar", 'e', rar_file[0], '-idq', '']) + subprocess.run(["/usr/bin/unrar", 'e', rar_file[0], '-idq', rar_file]) for section in section_folders: if os.path.exists(os.path.join(source_path, section)):