Compare commits

...

1 Commits

Author SHA1 Message Date
Andrew 4f138689ab Fix for select match on directory scan 4 years ago
  1. 4
      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()

Loading…
Cancel
Save