Changed color position

This commit is contained in:
Ben D
2022-02-01 02:08:10 -08:00
parent e510e04c6d
commit afffcc07fe

View File

@@ -69,7 +69,10 @@ class Colors:
kernel32 = __import__("ctypes").windll.kernel32 kernel32 = __import__("ctypes").windll.kernel32
kernel32.SetConsoleMode(kernel32.GetStdHandle(-11), 7) kernel32.SetConsoleMode(kernel32.GetStdHandle(-11), 7)
del kernel32 del kernel32
def show_colors():
for i in dir(Colors):
if i[0:1] != "_" and i != "END":
print("{:>16} {}".format(i, getattr(Colors, i) + i + Colors.END))
# Show and confirm disclaimer # Show and confirm disclaimer
disclaimer_accepted = False disclaimer_accepted = False
@@ -78,8 +81,8 @@ disclaimer_accepted = False
def show_disclaimer(): def show_disclaimer():
print( print(
f""" f"""
{Colors.BOLD}{Colors.BLINK}{Colors.RED} {Colors.BOLD}
WARNING {Colors.END}{Colors.LIGHT_WHITE}- This script is provided as a {Colors.ITALIC}DEMO ONLY.{Colors.END}{Colors.LIGHT_WHITE} It is intended to illistrate how to use the Voice1 APIs. By using this script, you agree to the terms of use and acknowledge that you are responsible for any actions taken. {Colors.RED}{Colors.BLINK}WARNING {Colors.END}{Colors.LIGHT_WHITE}- This script is provided as a {Colors.ITALIC}DEMO ONLY.{Colors.END}{Colors.LIGHT_WHITE} It is intended to illistrate how to use the Voice1 APIs. By using this script, you agree to the terms of use and acknowledge that you are responsible for any actions taken.
Neither VOICE1 nor VOICE1s resellers, contractors, or associates shall be responsible for providing Services to the extent that the issue is caused by (a) Customers misuse, improper use, mis-configuration, alteration, or damage to the Software; (b) Customers use of the Software with any hardware or software not supplied or supported by VOICE1; (c) Customers failure to install an update to the Software if such update would have resolved the issue; or (d) uses in a manner not in accordance with the Agreement. VOICE1 shall have no responsibility for loss of or damage to Customers data or loss of business, regardless of the cause of any such loss or damage. Neither VOICE1 nor VOICE1s resellers, contractors, or associates shall be responsible for providing Services to the extent that the issue is caused by (a) Customers misuse, improper use, mis-configuration, alteration, or damage to the Software; (b) Customers use of the Software with any hardware or software not supplied or supported by VOICE1; (c) Customers failure to install an update to the Software if such update would have resolved the issue; or (d) uses in a manner not in accordance with the Agreement. VOICE1 shall have no responsibility for loss of or damage to Customers data or loss of business, regardless of the cause of any such loss or damage.