Fallback to internal version if no version file exists
This will allow non-packaged versions of mycroft core to report version to the backend.pull/2528/head
parent
f01b61ea16
commit
0d51a04166
|
@ -45,7 +45,7 @@ class VersionManager:
|
|||
return json.load(f)
|
||||
except Exception:
|
||||
LOG.error("Failed to load version from '%s'" % version_file)
|
||||
return {"coreVersion": None, "enclosureVersion": None}
|
||||
return {"coreVersion": CORE_VERSION_STR, "enclosureVersion": None}
|
||||
|
||||
|
||||
def check_version(version_string):
|
||||
|
|
Loading…
Reference in New Issue