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