move an import to prevent an import loop
This commit is contained in:
parent
781691169e
commit
b6bed926c9
|
@ -38,8 +38,6 @@ import copy
|
|||
import defs
|
||||
import gobject
|
||||
|
||||
from common import gajim
|
||||
|
||||
(
|
||||
OPT_TYPE,
|
||||
OPT_VAL,
|
||||
|
@ -785,6 +783,7 @@ class Config:
|
|||
self.__options[1][opt] = self.__options[0][opt][OPT_VAL]
|
||||
|
||||
def _really_save(self):
|
||||
from common import gajim
|
||||
if gajim.interface:
|
||||
gajim.interface.save_config()
|
||||
self.save_timeout_id = None
|
||||
|
|
Loading…
Reference in New Issue