Skip to content

Commit

Permalink
fix codefactor issue
Browse files Browse the repository at this point in the history
  • Loading branch information
definite committed Sep 5, 2018
1 parent 177632b commit 883faed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ZanataArgParser.py
Expand Up @@ -65,8 +65,8 @@ def __init__(self, patern):

@staticmethod
def _color(colors, content):
if os.getenv('LOGGING_NO_COLOR', ''):
return
if os.getenv("LOGGING_NO_COLOR", ""):
return ""
return "\033[%d;%dm%s\033[0m" % (colors[0], colors[1], content)

def format(self, record):
Expand Down

0 comments on commit 883faed

Please sign in to comment.