Fixed json uuid parsing issue
This commit is contained in:
parent
82bc06817b
commit
d843dc3f72
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ def write_all_reservations(
|
|||
|
||||
reservations_json = []
|
||||
for r in reservations.values():
|
||||
reservations_json.append({"item_id": r.item_id, "name": r.name})
|
||||
reservations_json.append({"item_id": str(r.item_id), "name": r.name})
|
||||
|
||||
with open(path, "w", encoding="UTF-8") as fp:
|
||||
json.dump({"reservations": reservations_json}, fp)
|
||||
|
|
Loading…
Reference in a new issue