Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
trincaog committed Jul 26, 2022
1 parent 41171fc commit eb7770e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magiccube/cube_print.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class CubePrintStr:

def __init__(self, cube):
self.cube = cube
self.term = Terminal.x256 if os.environ["TERM"]=="xterm-256color" else Terminal.default
self.term = Terminal.x256 if os.environ.get("TERM")=="xterm-256color" else Terminal.default

def _format_color(self, color:Color):
"""Format color to TTY
Expand Down

0 comments on commit eb7770e

Please sign in to comment.