From 2aa39a3f260b82e7f528f3b4253f8277cc06f357 Mon Sep 17 00:00:00 2001 From: Nikolaos Kamarinakis Date: Thu, 12 Jan 2017 00:03:52 +0200 Subject: [PATCH] Resolve Issue #8 --- kickthemout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kickthemout.py b/kickthemout.py index 9e0f76d..1a532a1 100644 --- a/kickthemout.py +++ b/kickthemout.py @@ -236,7 +236,7 @@ def getGatewayIP(): getGateway_p = sr1(IP(dst="google.com", ttl=0) / ICMP() / "XXXXXXXXXXX", verbose=False) return getGateway_p.src except: - print("\n{0}ERROR: Gateway IP could not be obtained. Please enter IP manually.{2}\n").format(RED, END) + print("\n{0}ERROR: Gateway IP could not be obtained. Please enter IP manually.{1}\n").format(RED, END) header = ('{0}kickthemout{1}> {2}Enter Gateway IP {3}(e.g. 192.168.1.1): '.format(BLUE, WHITE, RED, END)) gatewayIP = raw_input(header) return gatewayIP