Browse Source

Don't need to specify keys

master
Luke Murphy 3 years ago
parent
commit
a7a948cb68
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 2
      LogBot/logbot.py

2
LogBot/logbot.py

@ -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…
Cancel
Save