Skip to content

Commit e20fbbe

Browse files
committed
Fix the local webserver to use bokeh executable from environment
1 parent 725e829 commit e20fbbe

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/metrics_as_scores/cli/LocalWebserver.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
from questionary import Choice
1717
from traceback import TracebackException
1818
from subprocess import Popen, PIPE
19-
from sys import executable
2019
from os import environ
2120
from io import TextIOWrapper
2221
from time import sleep
@@ -96,9 +95,8 @@ def __init__(self, running: bool) -> None:
9695
started_successfully = State(running=False)
9796
success_semaphore = Semaphore(value=0)
9897
try:
99-
bokeh = Path(executable).parent.joinpath('./bokeh')
10098
args = [
101-
str(bokeh), 'serve',
99+
'bokeh', 'serve',
102100
str(webapp_dir),
103101
'--port', f'{self.port}',
104102
'--show',

0 commit comments

Comments
 (0)