mirror of https://github.com/MISP/misp-modules
fix: Cleaned up not used variables
parent
627420ca43
commit
7cfc7a730b
|
@ -45,11 +45,6 @@ def handler(q=False):
|
||||||
|
|
||||||
if not api:
|
if not api:
|
||||||
misperrors['error'] = 'Onyphe Error instance api'
|
misperrors['error'] = 'Onyphe Error instance api'
|
||||||
|
|
||||||
ip = ""
|
|
||||||
dns_name = ""
|
|
||||||
|
|
||||||
ip = ''
|
|
||||||
if request.get('ip-src'):
|
if request.get('ip-src'):
|
||||||
ip = request['ip-src']
|
ip = request['ip-src']
|
||||||
return handle_ip(api, ip, misperrors)
|
return handle_ip(api, ip, misperrors)
|
||||||
|
|
Loading…
Reference in New Issue