We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f5afc0 commit 28fec9bCopy full SHA for 28fec9b
BridgeEmulator/services/updateManager.py
@@ -16,7 +16,7 @@ def versionCheck():
16
device_data = json.loads(response.text)
17
if len(device_data["updates"]) != 0:
18
new_version = str(device_data["updates"][len(device_data["updates"])-1]["version"])
19
- new_versionName = str(device_data["updates"][len(device_data["updates"])-1]["versionName"])
+ new_versionName = str(device_data["updates"][len(device_data["updates"])-1]["versionName"][:4]+".0")
20
if new_version > swversion:
21
logging.info("swversion number update from Philips, old: " + swversion + " new:" + new_version)
22
bridgeConfig["config"]["swversion"] = new_version
0 commit comments