def checkSoftwareVersion(): softwareInfo = softwareManager.checkSoftwareVersion() if softwareInfo: return jsonify(softwareInfo); else: return ("There was an error checking for new software.", 400)
def checkSoftwareVersion(): softwareInfo = softwareManager.checkSoftwareVersion() if softwareInfo: return jsonify(softwareInfo) else: return ("There was an error checking for new software.", 400)
def checkSoftwareVersion(): softwareInfo = softwareManager.checkSoftwareVersion() if softwareInfo: s = settings() s.set(["software", "lastCheck"], time.time()) s.save() return jsonify(softwareInfo) else: return ("There was an error checking for new software.", 400)
def checkSoftwareVersion(self,data,sendResponse): softwareInfo = softwareManager.checkSoftwareVersion() if softwareInfo: s = settings() s.set(["software", "lastCheck"], time.time()) s.save() sendResponse(softwareInfo) else: sendResponse("error_checking_update",True)
def checkSoftwareVersion(): softwareInfo = softwareManager.checkSoftwareVersion() if softwareInfo: s = settings() s.set(["software", "lastCheck"], time.time()) s.save() return jsonify(softwareInfo); else: return ("There was an error checking for new software.", 400)