1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-01 04:38:12 +00:00

Fix tests

This commit is contained in:
grossmj 2023-11-15 11:57:14 +10:00
parent 4e9bc190a4
commit 67be4259ff

View File

@ -154,8 +154,8 @@ class Symbols:
# 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) symbol = self.get_default_symbol("computer", self._current_theme)
if symbol: if symbol and symbol in self._symbols_path:
return symbol return self._symbols_path[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):