From e751a6d1ee8cec7071dac730a623e853d52b8dec Mon Sep 17 00:00:00 2001 From: Dan McInerney Date: Mon, 12 Feb 2018 12:29:19 -0700 Subject: [PATCH] Update empire --- empire | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/empire b/empire index 0daee7a..c4c208b 100755 --- a/empire +++ b/empire @@ -721,7 +721,7 @@ def start_restful_api(empireMenu, suppress=False, username=None, password=None, listenerObject = main.listeners.loadedListeners[listener_type] # set all passed options for option, values in request.json.iteritems(): - if type(values) != int: + if type(values) == str: values = values.encode('utf8') if option == "Name": listenerName = values