mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
Fix tests
This commit is contained in:
1 parent
4e9bc190a4
commit
67be4259ff
1 file changed
+2
-2
@@ -154,8 +154,8 @@ class Symbols:
|
||||
# return the default computer 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
|
||||
if symbol and symbol in self._symbols_path:
|
||||
return self._symbols_path[symbol]
|
||||
return self._symbols_path[":/symbols/classic/computer.svg"]
|
||||
|
||||
def get_size(self, symbol_id):
|
||||
|
||||
Reference in new issue
Block a user