mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Use get method for registry_version to avoid KeyError
This commit is contained in:
1 file changed
+1
-1
@@ -46,7 +46,7 @@ class Appliance:
|
||||
|
||||
@property
|
||||
def registry_version(self):
|
||||
return self._data["registry_version"]
|
||||
return self._data.get("registry_version")
|
||||
|
||||
@property
|
||||
def symbol(self):
|
||||
|
||||
Reference in new issue
Block a user