Commit 9016828c authored by John (J5) Palmieri's avatar John (J5) Palmieri

deal with None config values by making them empty strings

parent 78f0c10c
......@@ -163,6 +163,9 @@ class Settings:
self.general[key][i] = self.quote(self.general[key][i])
self.general[key] = ','.join(self.general[key])
if self.general[key] == None:
self.general[key] = ''
self.config.set("General", key, self.general[key])
# make sure that the directory that the config file is in exists
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment