Skip to content

Commit

Permalink
Fixed bug with color codes
Browse files Browse the repository at this point in the history
  • Loading branch information
louisa-uno committed Dec 10, 2023
1 parent d90e303 commit 89e5edb
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,20 @@
import os
import json
from tkinter import filedialog
import colorama

colorama.init()


class bcolors:
HEADER = '\033[95m'
OKBLUE = '\033[94m'
OKCYAN = '\033[96m'
OKGREEN = '\033[92m'
WARNING = '\033[93m'
FAIL = '\033[91m'
ENDC = '\033[0m'
BOLD = '\033[1m'
UNDERLINE = '\033[4m'
HEADER = colorama.Fore.MAGENTA
OKBLUE = colorama.Fore.BLUE
OKCYAN = colorama.Fore.CYAN
OKGREEN = colorama.Fore.GREEN
WARNING = colorama.Fore.YELLOW
FAIL = colorama.Fore.RED
ENDC = colorama.Fore.RESET
BOLD = colorama.Style.BRIGHT


class messages:
Expand Down

0 comments on commit 89e5edb

Please sign in to comment.