From 5e954876843bdab1ec6284350724e38d8006e25b Mon Sep 17 00:00:00 2001 From: Marc Nixon Date: Fri, 1 Sep 2023 10:16:12 -0700 Subject: [PATCH] change |= operator to be more compatible --- snowscraper/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snowscraper/controller.py b/snowscraper/controller.py index b05a42f..3cb5327 100644 --- a/snowscraper/controller.py +++ b/snowscraper/controller.py @@ -15,7 +15,7 @@ def run_all(args: argparse.Namespace): results = {} for scraper_cls in SCRAPERS.values(): scraper = scraper_cls() - results |= scraper.scrape() + results.update(scraper.scrape()) print(results)