yandex update
This commit is contained in:
@@ -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("Не распознано")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user