This commit is contained in:
Gregory Salaun 2022-01-26 20:10:56 +07:00
parent 4b0b073162
commit f8f76a1fc7

View File

@ -19,6 +19,7 @@ print("Checking if rar files and unraring...")
for section in section_folders:
if os.path.exists(os.path.join(source_path, section)):
for dir in os.listdir(os.path.join(source_path, section)):
print(f"Found dir: {dir}")
unrar_sys_package = '/usr/bin/unrar'
rar_file = glob(f"{os.path.join(source_path, section, dir, '')}*rar")
print(f"Found rar file: {rar_file}")