spec[2] is a string, not an array of strings
This commit is contained in:
parent
1d51b43c22
commit
de7d35015e
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
raise utils.EventError("Unknown server '%s'" % alias)
|
raise utils.EventError("Unknown server '%s'" % alias)
|
||||||
|
|
||||||
option = event["spec"][1].lower()
|
option = event["spec"][1].lower()
|
||||||
value = " ".join(event["spec"][2])
|
value = event["spec"][2]
|
||||||
value_parsed = None
|
value_parsed = None
|
||||||
|
|
||||||
if option == "hostname":
|
if option == "hostname":
|
||||||
|
|
Loading…
Reference in a new issue