|
|
|
@ -46,9 +46,13 @@ class UpdateInfo(object):
|
|
|
|
|
"""
|
|
|
|
|
return SystemIni().getVar(cls.section, cls.varname) == u'on'
|
|
|
|
|
|
|
|
|
|
def set_update_ready(self, value):
|
|
|
|
|
SystemIni().setVar(self.section,
|
|
|
|
|
{self.varname:"on" if value else "off"})
|
|
|
|
|
@classmethod
|
|
|
|
|
def set_update_ready(cls, value):
|
|
|
|
|
"""
|
|
|
|
|
Установить статус обновления
|
|
|
|
|
"""
|
|
|
|
|
SystemIni().setVar(cls.section,
|
|
|
|
|
{cls.varname:"on" if value else "off"})
|
|
|
|
|
|
|
|
|
|
def check_for_dispatch(self):
|
|
|
|
|
"""
|
|
|
|
|