File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ def linux_browser_apps_to_cmd(*apps):
9797
9898
9999def chrome_on_linux_path (prefer_chromium = False ):
100- if os_name () != "linux" :
100+ if os_name () != OSType . LINUX :
101101 return ""
102102 if prefer_chromium :
103103 paths = ["/bin/chromium" , "/bin/chromium-browser" ]
@@ -127,7 +127,7 @@ def chrome_on_linux_path(prefer_chromium=False):
127127
128128
129129def edge_on_linux_path ():
130- if os_name () != "linux" :
130+ if os_name () != OSType . LINUX :
131131 return ""
132132 paths = os .environ ["PATH" ].split (os .pathsep )
133133 binaries = []
@@ -144,7 +144,7 @@ def edge_on_linux_path():
144144
145145
146146def chrome_on_windows_path ():
147- if os_name () != "win32" :
147+ if os_name () != OSType . WIN :
148148 return ""
149149 candidates = []
150150 for item in map (
@@ -172,7 +172,7 @@ def chrome_on_windows_path():
172172
173173
174174def edge_on_windows_path ():
175- if os_name () != "win32" :
175+ if os_name () != OSType . WIN :
176176 return ""
177177 candidates = []
178178 for item in map (
You can’t perform that action at this time.
0 commit comments