From 2a66a251001828b9b2259324020928ea8a123b8c Mon Sep 17 00:00:00 2001 From: Benajmyn Love Date: Mon, 25 Sep 2017 09:17:05 +1000 Subject: [PATCH] added ident test --- HTTPy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HTTPy.py b/HTTPy.py index cd372f1..211ed51 100755 --- a/HTTPy.py +++ b/HTTPy.py @@ -22,7 +22,7 @@ running = 1 pingOn = "p" whoOn = "W" phrases = ["ping", "whois", "quit", "clear", "help", "nameserver"] - +indent = '\t' def openFile(filename): try: @@ -140,7 +140,7 @@ def iterate(inArray, pre): if checkIfIP(inArray[count].split('.')) == 0: tmpVal = isCNAME(inArray[count]) - print bcolors.CYAN + pre, bcolors.GREEN + inArray[count] + bcolors.RESET + " -> " + bcolors.GREEN + tmpVal[0] + bcolors.RESET + print indent + bcolors.CYAN + pre, bcolors.GREEN + inArray[count] + bcolors.RESET + " -> " + bcolors.GREEN + tmpVal[0] + bcolors.RESET else: print bcolors.CYAN + pre, bcolors.GREEN + inArray[count] + bcolors.RESET count = count + 1