Revert "Update dependencies"

This commit is contained in:
Jeremy Grossmann authored and GitHub committed 2026-11-01 05:38:08 +01:00
1 parent 368d1af3d5
commit c07e662d00
7 files changed
+23 -28

No files matched your search

+1 -2
View File
@@ -22,7 +22,6 @@ import logging
import os
import re
import uuid
from os.path import commonpath
from ..config import Config
from ..utils import int_to_macaddress, macaddress_to_int
@@ -421,7 +420,7 @@ class Node:
try:
if not val.startswith(":") and os.path.isabs(val):
default_symbol_directory = Config.instance().settings.Server.symbols_path
if commonpath([default_symbol_directory, val]) != default_symbol_directory:
if os.path.commonprefix([default_symbol_directory, val]) != default_symbol_directory:
val = os.path.basename(val)
except OSError:
pass