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