name resolve bug fix
This commit is contained in:
@@ -29,10 +29,10 @@ def validating():
|
|||||||
name = file.stem.lower()
|
name = file.stem.lower()
|
||||||
print(f"\n🔹 Файл: {file.name}")
|
print(f"\n🔹 Файл: {file.name}")
|
||||||
label = None
|
label = None
|
||||||
match file:
|
match name:
|
||||||
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 "eженедельный" in name:
|
case _ if name == "0" or "еженедельный" in name:
|
||||||
label = "0"
|
label = "0"
|
||||||
case _ if "отчет о реализации товара" in name:
|
case _ if "отчет о реализации товара" in name:
|
||||||
label = "отчет о реализации товара"
|
label = "отчет о реализации товара"
|
||||||
|
|||||||
Reference in New Issue
Block a user