make sure db config is a string when saving
This commit is contained in:
parent
dcca1eb0dc
commit
f7e1c6b0b8
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue