From f7e1c6b0b88f6a50cde996f0b18d195cecc39155 Mon Sep 17 00:00:00 2001 From: Izalia Mae Date: Fri, 2 Dec 2022 11:43:39 -0500 Subject: [PATCH] make sure db config is a string when saving --- relay/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/relay/config.py b/relay/config.py index 71956ed..9af25bc 100644 --- a/relay/config.py +++ b/relay/config.py @@ -234,7 +234,8 @@ class RelayConfig(DotDict): def save(self): config = { - 'db': self['db'], + # just turning config.db into a string is good enough for now + 'db': str(self.db), 'listen': self.listen, 'port': self.port, 'note': self.note,