mirror of https://github.com/Kkevsterrr/geneva
Python 3.5 support for strategy DNA parsing
This commit is contained in:
parent
189f7db714
commit
baf3e05fe1
|
@ -177,7 +177,7 @@ class ActionTree():
|
|||
# it would parse out the trigger "TCP:flags:SA" and the tree as
|
||||
# "-tamper{TCP:flags:corrupt}"
|
||||
match = re.match(r"\[(\S*)\]-(\S*)|", string)
|
||||
if not match or not match[0]:
|
||||
if not match or not match.group(0):
|
||||
logger.error("Could not identify trigger or tree")
|
||||
return False
|
||||
|
||||
|
|
Loading…
Reference in New Issue