Remove exception text colors to avoid bugs
This commit is contained in:
parent
b51d475695
commit
4e5994347c
|
|
@ -9,10 +9,10 @@ try:
|
||||||
import argparse
|
import argparse
|
||||||
import random
|
import random
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
print('\033[91m[!] Exiting.')
|
print('[!] Exiting.')
|
||||||
sys.exit()
|
sys.exit()
|
||||||
except:
|
except:
|
||||||
print('\033[91m[!] Missing requirements. Try running python3 -m pip install -r requirements.txt')
|
print('[!] Missing requirements. Try running python3 -m pip install -r requirements.txt')
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
def banner():
|
def banner():
|
||||||
|
|
@ -24,13 +24,12 @@ def banner():
|
||||||
print(" |___/ ")
|
print(" |___/ ")
|
||||||
print(" PhoneInfoga Ver. {}".format(__version__))
|
print(" PhoneInfoga Ver. {}".format(__version__))
|
||||||
print(" Coded by Sundowndev")
|
print(" Coded by Sundowndev")
|
||||||
print("\n" + Style.RESET_ALL)
|
print("\n")
|
||||||
|
|
||||||
print("\n " + Fore.WHITE + Style.NORMAL)
|
|
||||||
banner()
|
banner()
|
||||||
|
|
||||||
if sys.version_info[0] < 3:
|
if sys.version_info[0] < 3:
|
||||||
print("\033[1m\033[93m(!) Please run the tool using Python 3")
|
print("\033[1m\033[93m(!) Please run the tool using Python 3" + Style.RESET_ALL)
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(description=
|
parser = argparse.ArgumentParser(description=
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue