Skip to content

Commit 74d0717

Browse files
committed
Upgrade aiohttp to v3.10.10. Fixes #2411
1 parent ec300d1 commit 74d0717

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

gns3server/controller/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ async def start(self, computes=None):
9191
if server_config.enable_ssl:
9292
self._ssl_context = self._create_ssl_context(server_config)
9393

94-
protocol = server_config.protocol
94+
protocol = server_config.protocol.value
9595
if self._ssl_context and protocol != "https":
9696
log.warning(f"Protocol changed to 'https' for local compute because SSL is enabled")
9797
protocol = "https"

gns3server/controller/symbols.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def __init__(self):
4545
self._symbol_size_cache = {}
4646

4747
self._server_config = Config.instance().settings.Server
48-
self._current_theme = self._server_config.default_symbol_theme
48+
self._current_theme = self._server_config.default_symbol_theme.value
4949
self._themes = BUILTIN_SYMBOL_THEMES
5050

5151
@property

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ uvicorn==0.29.0
22
fastapi==0.112.0
33
python-multipart==0.0.9
44
websockets==12.0
5-
aiohttp>=3.9.5,<3.10
5+
aiohttp>=3.10.10,<3.11
66
async-timeout==4.0.3
77
aiofiles>=24.1.0,<25.0
88
Jinja2>=3.1.4,<3.2

0 commit comments

Comments
 (0)