diff --git a/server/src/uds/models/transport.py b/server/src/uds/models/transport.py index a481b515f..0ae1ba1f6 100644 --- a/server/src/uds/models/transport.py +++ b/server/src/uds/models/transport.py @@ -150,7 +150,7 @@ class Transport(ManagedObjectModel, TaggingMixin): Returns: bool: True if this transport is valid for the specified OS, False otherwise """ - return not self.allowed_oss or os.name.lower() in str(self.allowed_oss.lower()).split(',') + return not self.allowed_oss or os.name.casefold() in str(self.allowed_oss.casefold()).split(',') def __str__(self) -> str: return f'{self.name} of type {self.data_type} (id:{self.id})'