mirror of https://github.com/MISP/PyMISP
fix: settings is not required in MISPFeed
parent
d7beed9f76
commit
7178d3a8a0
|
@ -1505,7 +1505,8 @@ class MISPFeed(AbstractMISP):
|
|||
if 'Feed' in kwargs:
|
||||
kwargs = kwargs['Feed']
|
||||
super().from_dict(**kwargs)
|
||||
self.settings = json.loads(self.settings)
|
||||
if hasattr(self, 'settings'):
|
||||
self.settings = json.loads(self.settings)
|
||||
|
||||
|
||||
class MISPWarninglist(AbstractMISP):
|
||||
|
|
Loading…
Reference in New Issue