prevent a traceback

This commit is contained in:
Yann Leboulanger 2012-04-19 12:32:31 +02:00
parent cd4d2d5900
commit 781691169e
1 changed files with 2 additions and 1 deletions

View File

@ -785,7 +785,8 @@ class Config:
self.__options[1][opt] = self.__options[0][opt][OPT_VAL]
def _really_save(self):
gajim.interface.save_config()
if gajim.interface:
gajim.interface.save_config()
self.save_timeout_id = None
return False