fix room name detection for uuid usage

This commit is contained in:
Franziska Kunsmann 2024-11-04 09:05:44 +01:00
parent de084a0a6a
commit cacf808177

View file

@ -207,7 +207,10 @@ def main():
else: else:
log("unknown json flavour, something is very wrong") log("unknown json flavour, something is very wrong")
node.write_json("uuid.json", room_uuid_mapping) uuid_json = {}
for name, uuid in room_uuid_mapping.items():
uuid_json[uuid] = name
node.write_json("uuid.json", uuid_json)
idle(30, event_start, event_end, event_tz) idle(30, event_start, event_end, event_tz)