Skip to content

Commit 39fc829

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 841bdcf commit 39fc829

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

jupyter_remote_desktop_proxy/server_extension.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
import os
12
from pathlib import Path
23

34
from jupyter_server.base.handlers import AuthenticatedFileHandler
45
from jupyter_server.utils import url_path_join
56
from jupyter_server_proxy.handlers import AddSlashHandler
67

78
from .handlers import DesktopHandler
8-
import os
9+
910
HERE = Path(__file__).parent
1011

1112

@@ -15,7 +16,9 @@ def load_jupyter_server_extension(server_app):
1516
"""
1617
base_url = server_app.web_app.settings["base_url"]
1718

18-
jupyter_remote_desktop_endpoints = os.getenv('JUPYTER_REMOTE_DESKTOP_ENDPOINTS', 'desktopvnc')
19+
jupyter_remote_desktop_endpoints = os.getenv(
20+
'JUPYTER_REMOTE_DESKTOP_ENDPOINTS', 'desktopvnc'
21+
)
1922
endpoints = jupyter_remote_desktop_endpoints.split(',')
2023
for endpoint in endpoints:
2124
server_app.web_app.add_handlers(

jupyter_remote_desktop_proxy/templates/index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313
Chrome Frame. -->
1414
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
1515

16-
<link href="{{ base_url }}desktopvnc/static/dist/index.css" rel="stylesheet" />
16+
<link
17+
href="{{ base_url }}desktopvnc/static/dist/index.css"
18+
rel="stylesheet"
19+
/>
1720
</head>
1821

1922
<body>

0 commit comments

Comments
 (0)