1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-25 00:08:11 +00:00

Debugging for Windows.

This commit is contained in:
grossmj 2018-11-23 18:33:45 +07:00
parent 51787295dd
commit 9f7f26700e

View File

@ -113,6 +113,7 @@ class Symbols:
except (OSError, KeyError): except (OSError, KeyError):
log.warning("Could not retrieve symbol '{}'".format(symbol_id)) log.warning("Could not retrieve symbol '{}'".format(symbol_id))
symbols_path = self._symbols_path symbols_path = self._symbols_path
log.warning(symbols_path)
return symbols_path.get(":/symbols/classic/{}".format(os.path.basename(symbol_id)), symbols_path[":/symbols/classic/computer.svg"]) return symbols_path.get(":/symbols/classic/{}".format(os.path.basename(symbol_id)), symbols_path[":/symbols/classic/computer.svg"])
def get_size(self, symbol_id): def get_size(self, symbol_id):