From 4b3aa7d8629acd8433f8284423ebdab07cd9d246 Mon Sep 17 00:00:00 2001 From: MrTyton Date: Wed, 7 Sep 2016 17:11:19 -0400 Subject: [PATCH] Fixed incorrect regex call --- fanficdownload-cleaned.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fanficdownload-cleaned.py b/fanficdownload-cleaned.py index 33b37f5..116828d 100644 --- a/fanficdownload-cleaned.py +++ b/fanficdownload-cleaned.py @@ -103,7 +103,7 @@ def main(user, password, server, label, inout_file, path ): check_regexes(res) - if chapter_difference(res): + if chapter_difference.search(res): print "\tForcing download update\n" res = check_output('{}fanficfare -u "{}" --force --update-cover'.format(moving, cur), shell=True,stderr=STDOUT) check_regexes(res)