Skip to content

Commit

Permalink
Resolves #6962.
Browse files Browse the repository at this point in the history
* See comment by @MarcSkovMadsen [here](#6962 (comment)).
  • Loading branch information
jordansamuels committed Aug 2, 2024
1 parent f343b2b commit f47f525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel/io/jupyter_server_extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def get_server_root_dir(settings):
os.environ['BOKEH_RESOURCES'] = 'server'
app = r'{{ path }}'
os.chdir(str(pathlib.Path(app).parent))
sys.path = [os.getcwd()] + sys.path[1:]
sys.path = [os.getcwd()] + sys.path
from panel.io.jupyter_executor import PanelExecutor
executor = PanelExecutor(app, '{{ token }}', '{{ root_url }}')
Expand Down

0 comments on commit f47f525

Please sign in to comment.