Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeneke committed May 28, 2018
1 parent 0a6c8b6 commit a0aec9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitstatus.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

error_string = error.decode('utf-8')

if 'fatal: Not a git repository' in error_string:
if 'fatal: not a git repository' in error_string.lower():
sys.exit(0)

branch = branch.decode("utf-8").strip()[11:]
Expand Down

0 comments on commit a0aec9d

Please sign in to comment.