Compare commits

..

No commits in common. 'development' and 'main' have entirely different histories.

  1. 4
      stashr/utils.py

@ -1080,12 +1080,10 @@ def new_get_scrape_candidates(item):
if not match_found: if not match_found:
if str(candidate['start_year']) in item.directory_path: if str(candidate['start_year']) in item.directory_path:
scrape_candidate = candidate['id'] scrape_candidate = candidate['id']
match_found = False match_found = True
scrape_item.scrape_json = json.dumps(candidates.results) scrape_item.scrape_json = json.dumps(candidates.results)
scrape_item.scrape_candidate = scrape_candidate 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.merge(scrape_item)
database.session.commit() database.session.commit()

Loading…
Cancel
Save