fix infinity cycle
This commit is contained in:
4
main.py
4
main.py
@@ -94,7 +94,11 @@ def process_excel_file(facultet, excel_url, counter, timeid):
|
||||
excel_info['stat']['cycles'] += 1
|
||||
print(f"Parsing sheet №{reader.get_sheet_index()+1} (from 1)")
|
||||
prs = parser.Parser(reader)
|
||||
|
||||
print("Parser created; parser.parse();")
|
||||
prs.parse()
|
||||
|
||||
print("parsed done!")
|
||||
if prs.parser_error is not None:
|
||||
excel_info["parser_error_cycle_" + excel_info['stat']['cycles']] = prs.parser_error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user