From 1b1ca08b9f88abdfee682648624922313d804464 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Mon, 18 Jan 2016 10:31:25 +0100 Subject: [PATCH] Missed cpouple of changes --- misc/testing/DB/reset_postprocessing.php | 2 +- misc/update_scripts/python/postprocess_threaded.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/misc/testing/DB/reset_postprocessing.php b/misc/testing/DB/reset_postprocessing.php index 0c0e075fe..2e26d9ec7 100755 --- a/misc/testing/DB/reset_postprocessing.php +++ b/misc/testing/DB/reset_postprocessing.php @@ -254,7 +254,7 @@ if (isset($argv[1]) && ($argv[1] === "books" || $argv[1] === "all")) { $where = ' WHERE bookinfoid IS NOT NULL'; } else { echo $pdo->log->header("Resetting all failed Book postprocessing"); - $where = " WHERE bookinfoid IN (-2, 0) AND categoryid BETWEEN 0000 AND 8999"; + $where = " WHERE bookinfoid IN (-2, 0) AND categoryid BETWEEN 0000 AND 0999"; } $qry = $pdo->queryDirect("SELECT id FROM releases" . $where); diff --git a/misc/update_scripts/python/postprocess_threaded.py b/misc/update_scripts/python/postprocess_threaded.py index 585a76848..e0842c6e3 100644 --- a/misc/update_scripts/python/postprocess_threaded.py +++ b/misc/update_scripts/python/postprocess_threaded.py @@ -60,8 +60,8 @@ elif len(sys.argv) == 3 and sys.argv[2].isdigit() and len(sys.argv[2]) == 4: group_id = 'AND categoryid BETWEEN 7000 AND 7999' print(bcolors.HEADER + "Using categoryids 7000-7999" + bcolors.ENDC) elif sys.argv[2] == '0000': - group_id = 'AND categoryid BETWEEN 0000 AND 8999' - print(bcolors.HEADER + "Using categoryids 0000-8999" + bcolors.ENDC) + group_id = 'AND categoryid BETWEEN 0000 AND 0999' + print(bcolors.HEADER + "Using categoryids 0000-0999" + bcolors.ENDC) else: group_id = 'AND categoryid = '+sys.argv[2] print(bcolors.HEADER + "Using categoryid "+sys.argv[2] + bcolors.ENDC)