mirror of https://github.com/evilhero/mylar
fix for new configurations with no config.ini files
This commit is contained in:
parent
cad04c0e71
commit
5e2855cb51
|
@ -500,6 +500,7 @@ class Config(object):
|
|||
except configparser.NoSectionError:
|
||||
continue
|
||||
else:
|
||||
if self.CONFIG_VERSION != 0:
|
||||
if k == 'CONFIG_VERSION':
|
||||
config.remove_option('General', 'dbuser')
|
||||
config.remove_option('General', 'dbpass')
|
||||
|
|
Loading…
Reference in New Issue