From 4725cf58fc3552dd86a98fdcc8553c4b21f8f570 Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 18 Mar 2021 19:59:30 -0500 Subject: [PATCH] Scrape Add selected if match dound --- stashr/utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stashr/utils.py b/stashr/utils.py index c58095c..3f6030b 100644 --- a/stashr/utils.py +++ b/stashr/utils.py @@ -1084,7 +1084,9 @@ def new_get_scrape_candidates(item): scrape_item.scrape_json = json.dumps(candidates.results) scrape_item.scrape_candidate = scrape_candidate - + scrape_item.scrape_match = match_found + scrape_item.scrape_add = match_found + database.session.merge(scrape_item) database.session.commit()