Skip to content

Commit

Permalink
Correct writing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
b-j-mills committed Feb 2, 2024
1 parent 1450074 commit 6fbaa2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ def main(save: bool = False, use_saved: bool = False) -> None:
# showcase.create_in_hdx()
# showcase.add_dataset(dataset)

if len(errors) > 0:
if len(errors.errors) > 0:
with open("errors.txt", "w") as fp:
fp.write("\n".join(errors))
fp.write("\n".join(errors.errors))
state.set(state_dict)


Expand Down

0 comments on commit 6fbaa2f

Please sign in to comment.