From 7b63eab7bdd4edea176136014d27e3b9868fcf46 Mon Sep 17 00:00:00 2001 From: korenlazar Date: Tue, 4 Oct 2022 11:42:57 +0300 Subject: [PATCH] leftover from last commit --- chains/shufersal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chains/shufersal.py b/chains/shufersal.py index 1024ec8..4c7fee4 100644 --- a/chains/shufersal.py +++ b/chains/shufersal.py @@ -7,7 +7,7 @@ from supermarket_chain import SupermarketChain class Shufersal(SupermarketChain): @staticmethod - def get_download_url(store_id: int, category: SupermarketChain.XMLFilesCategory, session: requests.Session) -> str: + def get_download_url_or_path(store_id: int, category: SupermarketChain.XMLFilesCategory, session: requests.Session) -> str: url = f"http://prices.shufersal.co.il/FileObject/UpdateCategory?catID={category.value}" if SupermarketChain.is_valid_store_id(int(store_id)): url += f"&storeId={store_id}"