mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -07:00
Refactor PASSWORDSFILE -> PASSWORDS_FILE
Refactor DOWNLOADINFO -> DOWNLOAD_INFO
This commit is contained in:
parent
7e52aec4af
commit
0c98912b76
4 changed files with 18 additions and 18 deletions
|
@ -90,8 +90,8 @@ def extract(file_path, output_destination):
|
|||
# Create outputDestination folder
|
||||
core.make_dir(output_destination)
|
||||
|
||||
if core.PASSWORDSFILE and os.path.isfile(os.path.normpath(core.PASSWORDSFILE)):
|
||||
passwords = [line.strip() for line in open(os.path.normpath(core.PASSWORDSFILE))]
|
||||
if core.PASSWORDS_FILE and os.path.isfile(os.path.normpath(core.PASSWORDS_FILE)):
|
||||
passwords = [line.strip() for line in open(os.path.normpath(core.PASSWORDS_FILE))]
|
||||
else:
|
||||
passwords = []
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue