def onStart(self): updt = updater() rc = updt.isUpgraded() if rc != None : if rc : xbmc.executebuiltin("Notification('Upgrade','Your system is upgraded')") else : xbmc.executebuiltin("Notification('Upgrade','Something went wrong while upgrading')")
def setXbianValue(self, value): print "coco setupdate" + str(value) progress = updater(True) return progress.isUpgraded()