Config system finally fixed

This commit is contained in:
Mathieu Comandon 2010-03-02 00:38:53 +01:00
parent 50c43b4a6e
commit b1cad4d335

View file

@ -120,7 +120,8 @@ class LutrisConfig():
for key in self.game_config.keys():
if key in self.config:
self.config[key].update(self.game_config[key])
if type(self.config[key]) is dict:
self.config[key].update(self.game_config[key])
else:
self.config[key] = self.game_config[key]