mirror of https://github.com/MISP/MISP
Merge branch '2.4' into develop
commit
464395374c
|
@ -1 +1 @@
|
|||
Subproject commit 388b57e3428e1850c3195b8176827e1f53b9a4ec
|
||||
Subproject commit ffa6ed7963051a5bd0f4578ade94c788c2962c09
|
|
@ -87,7 +87,8 @@ class misphelper(object):
|
|||
# set expiredTag to hidden if it was accidentally enabled by "enable all"
|
||||
if tag["tag"] == self.expiredTag:
|
||||
if tag["existing_tag"]["Tag"]["hide_tag"] is False:
|
||||
self.misp.edit_tag(tag["existing_tag"]["Tag"]["id"], hide_tag=True)
|
||||
tag["existing_tag"]["Tag"]["hide_tag"] = True
|
||||
self.misp.update_tag(tag["existing_tag"]["Tag"])
|
||||
else:
|
||||
raise Exception("Could not parse retention time/unit from tag: '{}'.".format(tag["tag"]))
|
||||
|
||||
|
|
Loading…
Reference in New Issue