change |= operator to be more compatible

This commit is contained in:
Marc Nixon 2023-09-01 10:16:12 -07:00
parent 9ff6628c09
commit 5e95487684

View file

@ -15,7 +15,7 @@ def run_all(args: argparse.Namespace):
results = {} results = {}
for scraper_cls in SCRAPERS.values(): for scraper_cls in SCRAPERS.values():
scraper = scraper_cls() scraper = scraper_cls()
results |= scraper.scrape() results.update(scraper.scrape())
print(results) print(results)