mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-08-27 12:30:13 +03:00
Use get method for registry_version to avoid KeyError
This commit is contained in:
parent
630c2d811d
commit
51eb88ead1
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user