fix: Cleaned up not used variables

pull/266/head
chrisr3d 2018-11-20 11:17:58 +01:00
parent 627420ca43
commit 7cfc7a730b
1 changed files with 0 additions and 5 deletions

View File

@ -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)