Skip to content

Commit 51262f1

Browse files
committed
Remove text color when installing drivers on Linux
1 parent a0557de commit 51262f1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

seleniumbase/console_scripts/sb_install.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,11 @@ def main(override=None):
119119
c2 = colorama.Fore.BLUE + colorama.Back.LIGHTGREEN_EX
120120
c3 = colorama.Fore.BLUE + colorama.Back.LIGHTYELLOW_EX
121121
cr = colorama.Style.RESET_ALL
122+
if "linux" in sys_plat:
123+
c1 = ''
124+
c2 = ''
125+
c3 = ''
126+
cr = ''
122127

123128
if name == "chromedriver":
124129
last = "https://chromedriver.storage.googleapis.com/LATEST_RELEASE"

0 commit comments

Comments
 (0)