force is_adult option
This commit is contained in:
parent
0744116559
commit
786061db6d
@ -161,7 +161,7 @@ def downloader(args):
|
||||
# copyfile("/config/defaults.ini", "{}/defaults.ini".format(loc))
|
||||
output += log('\tRunning: {}python3.9 -m fanficfare.cli -u "{}" --update-cover --non-interactive'.format(
|
||||
moving, cur), 'BLUE', live)
|
||||
res = check_output('{}python3.9 -m fanficfare.cli -u "{}" --update-cover --non-interactive --config={}/personal.ini'.format(
|
||||
res = check_output('{}python3.9 -m fanficfare.cli -u "{}" --update-cover --non-interactive --config={}/personal.ini -o "is_adult=true"'.format(
|
||||
moving, cur, loc), shell=True, stderr=STDOUT, stdin=PIPE).decode('utf-8')
|
||||
# output += log(f'res: {res}', 'BLUE', live)
|
||||
check_regexes(res)
|
||||
@ -172,7 +172,7 @@ def downloader(args):
|
||||
if line:
|
||||
output += log("\t\t{}".format(line), 'WARNING', live)
|
||||
res = check_output(
|
||||
'{}python3.9 -m fanficfare.cli -u "{}" --force --update-cover --non-interactive --config={}/personal.ini'.format(
|
||||
'{}python3.9 -m fanficfare.cli -u "{}" --force --update-cover --non-interactive --config={}/personal.ini -o "is_adult=true"'.format(
|
||||
moving, cur, loc), shell=True, stderr=STDOUT, stdin=PIPE).decode('utf-8')
|
||||
check_regexes(res)
|
||||
# output += log(f'Cur: {get_files(loc, ".epub", True)}, len(cur): {len(get_files(loc, ".epub", True))}', 'BLUE', live)
|
||||
|
Loading…
Reference in New Issue
Block a user