fixed error reported by LGTM analysis

pull/448/head
milkmix 2020-11-23 16:28:23 +01:00
parent 6b9d30c6ce
commit 2544218899
1 changed files with 0 additions and 2 deletions

View File

@ -61,7 +61,6 @@ handlers = {
def handler(q=False):
if q is False:
return False
r = {'results': []}
request = json.loads(q)
config = request.get("config", {"Period": ""})
output = ''
@ -73,7 +72,6 @@ def handler(q=False):
r = {"response": [], "data": str(base64.b64encode(bytes(output, 'utf-8')), 'utf-8')}
return r
def introspection():
modulesetup = {}
try: