fix: [MISP export] fix pgp-meta template

pull/486/head
Terrtia 2020-02-21 13:25:59 +01:00
parent 7f64d57bbd
commit bdddb1e5b6
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ def export_cryptocurrency(crypto_type, crypto_address):
def export_pgp(pgp_type, pgp_value):
dict_metadata = Pgp.pgp.get_metadata(pgp_type, pgp_value)
obj = MISPObject('pgp-meta', misp_objects_path_custom='../../../misp-objects/objects')
obj = MISPObject('pgp-meta')
obj.first_seen = dict_metadata['first_seen']
obj.last_seen = dict_metadata['last_seen']