fix: [tag core] typo

This commit is contained in:
Terrtia 2020-01-21 15:27:40 +01:00
parent 249b3d657f
commit 08014f125a
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -295,7 +295,7 @@ def update_tag_metadata(tag, tag_date, object_type=None, add_tag=True):
## REMOVE tag ## ## REMOVE tag ##
else: else:
if tag_date == tag_metadata['first_seen']: if tag_date == tag_metadata['first_seen']:
update_tag_first_seen(object_type, tag, tag_metadata['first_seen'], tag_metadata['last_seen']) update_tag_first_seen(tag, tag_metadata['first_seen'], tag_metadata['last_seen'])
if tag_date == tag_metadata['last_seen']: if tag_date == tag_metadata['last_seen']:
update_tag_last_seen(tag, tag_metadata['first_seen'], tag_metadata['last_seen']) update_tag_last_seen(tag, tag_metadata['first_seen'], tag_metadata['last_seen'])