Update 'root/app/fanficdownload.py'
This commit is contained in:
parent
2ac752f79e
commit
f61e607c81
@ -126,11 +126,11 @@ def downloader(args):
|
||||
url, inout_file, path, live = args
|
||||
# loc = mkdtemp()
|
||||
# loc = '/config/downloads'
|
||||
if not exists('/config/downloads'):
|
||||
makedirs('/config/downloads')
|
||||
loc = '/config/downloads'
|
||||
if not exists(loc):
|
||||
makedirs(loc)
|
||||
copyfile("/config/personal.ini", "{}/personal.ini".format(loc))
|
||||
copyfile("/config/defaults.ini", "{}/defaults.ini".format(loc))
|
||||
loc = '/config/downloads'
|
||||
output = ""
|
||||
output += log("Working with url {}".format(url), 'HEADER', live)
|
||||
storyId = None
|
||||
|
Loading…
Reference in New Issue
Block a user