diff --git a/pelix/framework.py b/pelix/framework.py index 9860d61f..d013cf9c 100644 --- a/pelix/framework.py +++ b/pelix/framework.py @@ -630,9 +630,9 @@ def __init__(self, properties=None): if not framework_uid: framework_uid = str(uuid.uuid4()) # Normalize the UID: it must be a string - self.__properties[FRAMEWORK_UID] = framework_uid + self.__properties[FRAMEWORK_UID] = str(framework_uid) # Also normalize the OSGI_FRAMEWORK_UID: it must be a string - self.__properties[OSGI_FRAMEWORK_UUID] = framework_uid + self.__properties[OSGI_FRAMEWORK_UUID] = str(framework_uid) # Properties lock self.__properties_lock = threading.Lock()