Skip to content

Commit

Permalink
fix(#275): Fixed environ key error
Browse files Browse the repository at this point in the history
  • Loading branch information
lxgr-linux committed Jun 17, 2024
1 parent 2c89867 commit 7137703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pokete_classes/color.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Color:
gold = "\033[38;5;94m"
cavegrey = "\033[38;5;236m"

if environ["TERM"] == "linux": # this fixes some colors on TTY
if environ.get("TERM", "linux") == "linux": # this fixes some colors on TTY
gold = "\033[38;5;9m"
cavegrey = "\033[38;5;7m"

Expand Down

0 comments on commit 7137703

Please sign in to comment.