yandex update

This commit is contained in:
2026-05-09 12:01:34 +03:00
parent f6ea373632
commit bb3f66c3b2
3 changed files with 8 additions and 6 deletions

View File

@@ -20,12 +20,12 @@ for file in files:
calculate.get_articles_with_sales()
case _ if "yandex" in file:
print("Это Yandex")
calculate = Handler(file)
calculate.get_articles_with_sales(jsonread.merchant("yandex"), sheet_name="Отчёт по товарам")
calculate = Handler(file, jsonread.merchant("yandex"), sheet_name="Отчёт по товарам")
calculate.get_articles_with_sales()
case _ if "wb" in file:
print("Это WB")
calculate = Handler(file)
calculate.get_articles_with_sales(jsonread.merchant("wb"), sheet_name="Отчёт товарам")
calculate = Handler(file, jsonread.merchant("wb"), sheet_name="Отчёт товарам")
calculate.get_articles_with_sales()
case _:
print("Не распознано")