From 03e2b3055f345bd3ced7ea11f2929807891ae658 Mon Sep 17 00:00:00 2001 From: R3DDY97 Date: Sat, 3 Feb 2018 18:12:41 +0530 Subject: [PATCH] hotname display --- kickthemout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kickthemout.py b/kickthemout.py index 4e2e07c..c83748c 100644 --- a/kickthemout.py +++ b/kickthemout.py @@ -151,7 +151,7 @@ def get_hostname(ip): except: pass if ip == utils.socket.getfqdn(ip): - hostname == 'N/A' + hostname = 'N/A' return hostname