Upgrade to aiohttp v3.9.0rc0

This commit is contained in:
grossmj 2023-11-15 11:47:48 +10:00
parent 261dd1d6d5
commit 4e9bc190a4
2 changed files with 5 additions and 2 deletions

View File

@ -72,7 +72,7 @@ class Symbols:
return None return None
symbol_path = theme.get(symbol) symbol_path = theme.get(symbol)
if symbol_path not in self._symbols_path: if symbol_path not in self._symbols_path:
log.warning(f"Default symbol {symbol} was not found") log.debug(f"Default symbol {symbol} was not found")
return None return None
return symbol_path return symbol_path
@ -153,6 +153,9 @@ class Symbols:
else: else:
# return the default computer symbol # return the default computer symbol
log.warning(f"Could not retrieve symbol '{symbol_id}', returning default symbol...") log.warning(f"Could not retrieve symbol '{symbol_id}', returning default symbol...")
symbol = self.get_default_symbol("computer", self._current_theme)
if symbol:
return symbol
return self._symbols_path[":/symbols/classic/computer.svg"] return self._symbols_path[":/symbols/classic/computer.svg"]
def get_size(self, symbol_id): def get_size(self, symbol_id):

View File

@ -3,7 +3,7 @@ fastapi==0.104.1
python-multipart==0.0.6 python-multipart==0.0.6
websockets==12.0 websockets==12.0
aiohttp>=3.8.6,<3.9; python_version < '3.12' aiohttp>=3.8.6,<3.9; python_version < '3.12'
aiohttp==3.9.0b0; python_version == '3.12' aiohttp==3.9.0rc0; python_version == '3.12'
async-timeout==4.0.3 async-timeout==4.0.3
aiofiles==23.2.1 aiofiles==23.2.1
Jinja2>=3.1.2,<3.2 Jinja2>=3.1.2,<3.2