def __init__(self): self._init_vars() if (not settings.service_enabled): log(LOG_INFO, "Service not enabled") settings.readSettings() self._daemon()
def __init__( self ): self._init_vars() if (not settings.service_enabled): log(LOG_INFO, "Service not enabled") settings.readSettings() self._daemon()
def onSettingsChanged(self): settings.init() settings.readSettings()
def onSettingsChanged( self ): settings.init() settings.readSettings()