fix: [stix1 import] Copy/paste error fixed

pull/3535/head
chrisr3d 2018-08-07 14:50:02 +02:00
parent b7233957b6
commit 7d0963bcb7
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class StixParser():
print(3)
sys.exit(0)
title = event.stix_header.title
fromMisp = (title is not None and "Export from " in title and "MISP" in title)
fromMISP = (title is not None and "Export from " in title and "MISP" in title)
if fromMISP:
package = event.related_packages.related_package[0].item
self.event = package.incidents[0]