make sure db config is a string when saving

This commit is contained in:
Izalia Mae 2022-12-02 11:43:39 -05:00
parent dcca1eb0dc
commit f7e1c6b0b8

View file

@ -234,7 +234,8 @@ class RelayConfig(DotDict):
def save(self): def save(self):
config = { config = {
'db': self['db'], # just turning config.db into a string is good enough for now
'db': str(self.db),
'listen': self.listen, 'listen': self.listen,
'port': self.port, 'port': self.port,
'note': self.note, 'note': self.note,