Skip to content

Commit

Permalink
repair local save_xml method
Browse files Browse the repository at this point in the history
  • Loading branch information
threnjen committed Nov 25, 2024
1 parent 970ec85 commit a79763d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/local_file_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def load_xml(self, file_path: str):

def save_xml(self, file_path: str, data: str):
self.make_directory(Path(file_path).parent)
data = bytes(data, "utf-8")
with open(file_path, "wb") as f:
f.write(data)

Expand Down

0 comments on commit a79763d

Please sign in to comment.