mirror of https://github.com/MISP/PyMISPGalaxies
Add support for icon key in galaxies
parent
1fbc9188a5
commit
0460cc20c8
|
@ -40,13 +40,14 @@ class Galaxy():
|
|||
self.galaxy = galaxy
|
||||
self.type = self.galaxy['type']
|
||||
self.name = self.galaxy['name']
|
||||
self.icon = self.galaxy['icon']
|
||||
self.description = self.galaxy['description']
|
||||
self.version = self.galaxy['version']
|
||||
self.uuid = self.galaxy['uuid']
|
||||
|
||||
def _json(self):
|
||||
return {'type': self.type, 'name': self.name, 'description': self.description,
|
||||
'version': self.version, 'uuid': self.uuid}
|
||||
'version': self.version, 'uuid': self.uuid, 'icon': self.icon}
|
||||
|
||||
|
||||
class Galaxies(collections.Mapping):
|
||||
|
|
Loading…
Reference in New Issue