diff --git a/src/mbtest/server.py b/src/mbtest/server.py index 62b17d5..8a69700 100644 --- a/src/mbtest/server.py +++ b/src/mbtest/server.py @@ -10,11 +10,7 @@ from furl import furl from more_itertools import flatten -DEFAULT_MB_EXECUTABLE = ( - str(Path(".") / "node_modules" / ".bin" / "mb.cmd") - if platform.system() == "Windows" - else str(Path(".") / "node_modules" / ".bin" / "mb") -) +DEFAULT_MB_EXECUTABLE = str(Path("node_modules") / ".bin" / ("mb.cmd" if platform.system() == "Windows" else "mb")) logger = logging.getLogger(__name__)