Skip to content
Snippets Groups Projects
Commit 6c1aff2c authored by Pavel Kácha's avatar Pavel Kácha
Browse files

Fixed operator priority bug in Category generation

parent 6496aaef
No related branches found
No related tags found
No related merge requests found
...@@ -314,7 +314,7 @@ class IdeaGen(object): ...@@ -314,7 +314,7 @@ class IdeaGen(object):
idea = { idea = {
"Format": "IDEA0", "Format": "IDEA0",
"ID": str(uuid.uuid4()), "ID": str(uuid.uuid4()),
"Category": tmpl["category"] + ["Test"] if self.test else [], "Category": tmpl["category"] + (["Test"] if self.test else []),
"Description": tmpl["description"], "Description": tmpl["description"],
"DetectTime": self.format_timestamp(detect_time), "DetectTime": self.format_timestamp(detect_time),
"EventTime": self.format_timestamp(event_time), "EventTime": self.format_timestamp(event_time),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment