Skip to content

Commit

Permalink
update import
Browse files Browse the repository at this point in the history
  • Loading branch information
emmyoop committed Jan 9, 2024
1 parent 56d1861 commit fd0199b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbt/common/ui.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import os
from os import getenv as os_getenv
import sys
import textwrap
from typing import Dict
Expand All @@ -13,7 +13,7 @@
# when piped to another process for Linux and MacOS, then it loses the coloring. To combat
# that, we will just initialize Colorama when needed on Windows using a non-Unix terminal.

if sys.platform == "win32" and (not os.getenv("TERM") or os.getenv("TERM") == "None"):
if sys.platform == "win32" and (not os_getenv("TERM") or os_getenv("TERM") == "None"):
colorama.init(wrap=True)

COLORS: Dict[str, str] = {
Expand Down

0 comments on commit fd0199b

Please sign in to comment.