mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
Fixes issues with extracting and linking of archives.
Fixes other issues from previous update.
This commit is contained in:
parent
289d451112
commit
f5f0ff6e10
7 changed files with 64 additions and 51 deletions
|
@ -72,9 +72,8 @@ def extract(filePath, outputDestination):
|
|||
# Create outputDestination folder
|
||||
nzbtomedia.makeDir(outputDestination)
|
||||
|
||||
passwordsfile = nzbtomedia.CFG["passwords"]["PassWordFile"]
|
||||
if passwordsfile != "" and os.path.isfile(os.path.normpath(passwordsfile)):
|
||||
passwords = [line.strip() for line in open(os.path.normpath(passwordsfile))]
|
||||
if nzbtomedia.PASSWORDSFILE != "" and os.path.isfile(os.path.normpath(nzbtomedia.PASSWORDSFILE)):
|
||||
passwords = [line.strip() for line in open(os.path.normpath(nzbtomedia.PASSWORDSFILE))]
|
||||
else:
|
||||
passwords = []
|
||||
nzbtomedia.logger.info("Extracting %s to %s" % (filePath, outputDestination))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue