Browse Source

The after-unrar-check needs to take the "flat_unpack" option into account.

tags/0.7.19
shypike 11 years ago
parent
commit
ad58dde0e0
  1. 2
      sabnzbd/newsunpack.py

2
sabnzbd/newsunpack.py

@ -697,7 +697,7 @@ def rar_extract_core(rarfile, numrars, one_folder, nzo, setname, extraction_path
missing = []
# Loop through and check for the presence of all the files the archive contained
for path in expected_files:
if one_folder:
if one_folder or cfg.flat_unpack():
path = os.path.split(path)[1]
path = unicode2local(path)
if '?' in path:

Loading…
Cancel
Save