fix filenames
This commit is contained in:
@@ -27,5 +27,5 @@ def process_sheet(df,real_arti: int):
|
|||||||
return df_validated
|
return df_validated
|
||||||
def evaluating(df, real_arti:int, types:str):
|
def evaluating(df, real_arti:int, types:str):
|
||||||
validated_rows_1 = process_sheet(df, real_arti=real_arti) # номера столбцов от озона
|
validated_rows_1 = process_sheet(df, real_arti=real_arti) # номера столбцов от озона
|
||||||
validated_rows_1.to_excel(f"./excel_files/{types}.xlsx")
|
validated_rows_1.to_excel(f"./excel_files/{types}1.xlsx")
|
||||||
return validated_rows_1
|
return validated_rows_1
|
||||||
@@ -32,7 +32,7 @@ def validating():
|
|||||||
match file:
|
match file:
|
||||||
case _ if "period_closure_income" in name:
|
case _ if "period_closure_income" in name:
|
||||||
label = "period_closure_income"
|
label = "period_closure_income"
|
||||||
case _ if name == "0" or "weekly_report" in name:
|
case _ if name == "0" or "eженедельный" in name:
|
||||||
label = "0"
|
label = "0"
|
||||||
case _ if "отчет о реализации товара" in name:
|
case _ if "отчет о реализации товара" in name:
|
||||||
label = "отчет о реализации товара"
|
label = "отчет о реализации товара"
|
||||||
|
|||||||
Reference in New Issue
Block a user