safety try
All checks were successful
Build and Run VSTU Compat Layer v1 / build_and_run (push) Successful in 7s
All checks were successful
Build and Run VSTU Compat Layer v1 / build_and_run (push) Successful in 7s
This commit is contained in:
5
main.py
5
main.py
@@ -28,9 +28,14 @@ def merge_week_keys_metadata(sheets):
|
|||||||
for month, days in months.items():
|
for month, days in months.items():
|
||||||
if month not in merged[day]:
|
if month not in merged[day]:
|
||||||
merged[day][month] = []
|
merged[day][month] = []
|
||||||
|
|
||||||
|
try:
|
||||||
for d in days:
|
for d in days:
|
||||||
if d not in merged[day][month]:
|
if d not in merged[day][month]:
|
||||||
merged[day][month].append(d)
|
merged[day][month].append(d)
|
||||||
|
except Exception as e:
|
||||||
|
traceback.print_exception(e)
|
||||||
|
print(f"sheet_data.reader_info={sheet_data['reader_info']}; week_keys_metadata={wkm}")
|
||||||
return merged
|
return merged
|
||||||
|
|
||||||
def get_preferer_facultet(facultets_data: dict, excel_url: str, skip_for=None, ):
|
def get_preferer_facultet(facultets_data: dict, excel_url: str, skip_for=None, ):
|
||||||
|
|||||||
Reference in New Issue
Block a user