Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Wellheor1 committed Mar 5, 2025
1 parent 91b8028 commit 330ccb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/parse_file/forms103.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,12 +290,12 @@ def form_01(request_data):
organization_id = request_data.get("entity_id")
user = request_data.get("user")
result_request_check = check_request_data(organization_id, user)
if not result_request_check["ok"]:
if not result_request_check.get("ok"):
return result_request_check
wb = load_workbook(filename=file)
ws = wb[wb.sheetnames[0]]
result_parse_file = parse_work_sheet(ws)
if not result_parse_file["ok"]:
if not result_parse_file.get("ok"):
return result_parse_file
employees: list = result_parse_file["result"]["employees"]
incorrect_employees: list = result_parse_file["result"]["incorrect_employees"]
Expand Down

0 comments on commit 330ccb2

Please sign in to comment.