mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 12:59:36 -07:00
always assume -y switch on windows
This commit is contained in:
parent
ca9ffb3ce5
commit
1c1dc35e4c
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ elif useLink == 0 and packed == 1: ## unpack
|
||||||
|
|
||||||
## Using Windows?
|
## Using Windows?
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
cmd_7zip = [extractionTool, 'x']
|
cmd_7zip = [extractionTool, 'x -y']
|
||||||
ext_7zip = [".rar",".zip",".tar.gz","tgz",".tar.bz2",".tbz",".tar.lzma",".tlz",".7z",".xz"]
|
ext_7zip = [".rar",".zip",".tar.gz","tgz",".tar.bz2",".tbz",".tar.lzma",".tlz",".7z",".xz"]
|
||||||
EXTRACT_COMMANDS = dict.fromkeys(ext_zip, cmd_7zip)
|
EXTRACT_COMMANDS = dict.fromkeys(ext_zip, cmd_7zip)
|
||||||
print "INFO: We are using Windows"
|
print "INFO: We are using Windows"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue