prevent TB for missing option
This commit is contained in:
parent
c4dfd8e443
commit
668b98e403
|
@ -270,6 +270,7 @@ class OptionsParser:
|
|||
|
||||
def update_config_to_01012(self):
|
||||
# See [6456]
|
||||
if self.old_values['emoticons_theme'] == 'Disabled':
|
||||
if self.old_values.has_key('emoticons_theme') and \
|
||||
self.old_values['emoticons_theme'] == 'Disabled':
|
||||
gajim.config.set('emoticons_theme', '')
|
||||
gajim.config.set('version', '0.10.1.2')
|
||||
|
|
Loading…
Reference in New Issue