diff --git a/stashr/utils.py b/stashr/utils.py index c58095c..1b92de4 100644 --- a/stashr/utils.py +++ b/stashr/utils.py @@ -1080,10 +1080,12 @@ def new_get_scrape_candidates(item): if not match_found: if str(candidate['start_year']) in item.directory_path: scrape_candidate = candidate['id'] - match_found = True + match_found = False 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()