fix: [AnalystData] Typo...

pull/1307/head
Christian Studer 2024-10-30 17:00:22 +01:00
parent 1dce13d61b
commit 8e288a4323
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 1 additions and 1 deletions

View File

@ -2599,7 +2599,7 @@ class MISPNote(AnalystDataBehaviorMixin, MISPAnalystData):
super().__init__(**kwargs)
def from_dict(self, contained=False, **kwargs) -> None: # type: ignore[no-untyped-def]
if not conainted and 'Note' in kwargs:
if not contained and 'Note' in kwargs:
kwargs = kwargs['Note']
self.note = kwargs.pop('note', None)
if self.note is None: