Skip to content

Commit f215b3d

Browse files
committed
Fix launch of euporie-hub apps
1 parent 0892a7c commit f215b3d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Added
1616
Fixed
1717
=====
1818

19+
- Fix ``euporie-hub`` launch
1920
- Fix loading of lists in config
2021
- Final side bar button border color in 1-bit color mode
2122
- First input not visible in notebook console if it has no output

euporie/hub/app.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
from __future__ import annotations
44

5+
import asyncio
56
import logging
67
from asyncio import get_event_loop
78
from typing import TYPE_CHECKING
@@ -108,7 +109,7 @@ def launch(cls) -> None:
108109
raise ModuleNotFoundError("Application `%s` not found", cls.config.app)
109110

110111
# Run the HubApp in an SSH server
111-
loop = get_event_loop()
112+
loop = asyncio.new_event_loop()
112113
loop.run_until_complete(
113114
asyncssh.create_server(
114115
lambda: EuporieSSHServer(app_cls=app_cls),

0 commit comments

Comments
 (0)