Don't need to specify keys
This commit is contained in:
parent
0a3ed438af
commit
a7a948cb68
@ -136,7 +136,7 @@ class Logbot(Bot):
|
||||
room_path = os.path.join(self.output, room_name)
|
||||
self.log.info(f"Processing setup logic for: {room_path}")
|
||||
|
||||
if room not in self.db.keys():
|
||||
if room not in self.db:
|
||||
self.db[room] = {}
|
||||
if "messages" not in self.db[room]:
|
||||
self.db[room]["messages"] = {}
|
||||
|
Loading…
Reference in New Issue
Block a user