Revert "Added eval for pasting tag lists"
This commit is contained in:
parent
a77de166c4
commit
432477c14c
1 changed files with 1 additions and 4 deletions
|
@ -116,9 +116,6 @@ def post_event(module):
|
|||
if module.params['date_happened'] != None:
|
||||
body['date_happened'] = module.params['date_happened']
|
||||
if module.params['tags'] != None:
|
||||
if module.params['tags'].startswith("[") and module.params['tags'].endswith("]"):
|
||||
body['tags'] = eval(module.params['tags'])
|
||||
else:
|
||||
body['tags'] = module.params['tags'].split(",")
|
||||
if module.params['aggregation_key'] != None:
|
||||
body['aggregation_key'] = module.params['aggregation_key']
|
||||
|
|
Loading…
Reference in a new issue