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
|
url, inout_file, path, live = args
|
||||||
# loc = mkdtemp()
|
# loc = mkdtemp()
|
||||||
# loc = '/config/downloads'
|
# loc = '/config/downloads'
|
||||||
if not exists('/config/downloads'):
|
loc = '/config/downloads'
|
||||||
makedirs('/config/downloads')
|
if not exists(loc):
|
||||||
|
makedirs(loc)
|
||||||
copyfile("/config/personal.ini", "{}/personal.ini".format(loc))
|
copyfile("/config/personal.ini", "{}/personal.ini".format(loc))
|
||||||
copyfile("/config/defaults.ini", "{}/defaults.ini".format(loc))
|
copyfile("/config/defaults.ini", "{}/defaults.ini".format(loc))
|
||||||
loc = '/config/downloads'
|
|
||||||
output = ""
|
output = ""
|
||||||
output += log("Working with url {}".format(url), 'HEADER', live)
|
output += log("Working with url {}".format(url), 'HEADER', live)
|
||||||
storyId = None
|
storyId = None
|
||||||
|
Loading…
Reference in New Issue
Block a user