Browse Source

minor formatting

master
Corey Goldberg 6 years ago
parent
commit
214835c739
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      xvfbwrapper.py

+ 2
- 4
xvfbwrapper.py View File

@ -91,7 +91,5 @@ class Xvfb:
def _xvfb_exists(self):
"""Check that Xvfb is in PATH and is executable."""
return any(
os.access(os.path.join(path, 'Xvfb'), os.X_OK)
for path in os.environ['PATH'].split(os.pathsep)
)
if any(os.access(os.path.join(path, 'Xvfb'), os.X_OK)
for path in os.environ['PATH'].split(os.pathsep))

Loading…
Cancel
Save