diff --git a/gns3server/controller/symbols.py b/gns3server/controller/symbols.py index 595848c9..bd89dea2 100644 --- a/gns3server/controller/symbols.py +++ b/gns3server/controller/symbols.py @@ -83,6 +83,8 @@ class Symbols: continue symbol_file = posixpath.normpath(os.path.relpath(os.path.join(root, filename), get_resource("symbols"))).replace('\\', '/') theme = posixpath.dirname(symbol_file).replace('/', '-').capitalize() + if not theme: + continue symbol_id = ':/symbols/' + symbol_file symbols.append({'symbol_id': symbol_id, 'filename': filename,