diff --git a/config_template.ini b/config_template.ini index 69fa1d6..897ee49 100644 --- a/config_template.ini +++ b/config_template.ini @@ -12,3 +12,6 @@ input= notification= pushbullet= pbdevice= + +[output] +live= diff --git a/fanficdownload.py b/fanficdownload.py index cd70e24..1dc67d5 100644 --- a/fanficdownload.py +++ b/fanficdownload.py @@ -210,7 +210,7 @@ def main(user, password, server, label, inout_file, path, live ): for url in urls: log("\t{}".format(url), 'BLUE') if len(urls) == 1: - downloader([urls[0], inout_file, path, live]) + downloader([list(urls)[0], inout_file, path, True]) else: p = Pool() p.map(downloader, [[url, inout_file, path, live] for url in urls])