Skip to content

Commit

Permalink
Merge pull request #986 from rzellem/hotfix_983
Browse files Browse the repository at this point in the history
Hotfix: Update terminal color logic to fit ANSI base specs
  • Loading branch information
rzellem authored Apr 28, 2022
2 parents e49f4eb + 513951d commit a2566bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exotic/exotic.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@

def log_info(string, warn=False, error=False):
if error:
print(f"\033[91m {string}\033[00m")
print(f"\033[31m {string}\033[0m")
elif warn:
print(f"\033[33m {string}\033[00m")
print(f"\033[33m {string}\033[0m")
else:
print(string)
log.debug(string)
Expand Down

0 comments on commit a2566bb

Please sign in to comment.