|
|
@ -127,6 +127,9 @@ for item in file_list:
|
|
|
|
elif item.endswith(".zip"):
|
|
|
|
elif item.endswith(".zip"):
|
|
|
|
processor = "unzip"
|
|
|
|
processor = "unzip"
|
|
|
|
returncode = subprocess.call(['unzip', '-p', item], stderr=stfu)
|
|
|
|
returncode = subprocess.call(['unzip', '-p', item], stderr=stfu)
|
|
|
|
|
|
|
|
elif item.endswith(".rar"):
|
|
|
|
|
|
|
|
processor = "unrar"
|
|
|
|
|
|
|
|
returncode = subprocess.call(['unrar', 'p', '-inul', item], stderr=stfu)
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
sys.stderr.write("WARNING: Skipping item %s, not a recognized archive type\n" % item)
|
|
|
|
sys.stderr.write("WARNING: Skipping item %s, not a recognized archive type\n" % item)
|
|
|
|
failed += 1
|
|
|
|
failed += 1
|
|
|
|