fixed zeo behavior in user manager

This commit is contained in:
Michael Woods
2025-12-20 21:40:42 -05:00
parent 5252db7d51
commit e89f696aa3

View File

@@ -37,8 +37,7 @@ def open_database(db_arg: str) -> ZODB.DB:
port = int(port_str)
except ValueError:
raise ValueError(f"Invalid port in ZEO address: {db_arg}")
storage = ZEO.client_storage(host, port)
return ZODB.DB(storage)
return ZEO.DB((host,port))
else:
# Local FileStorage path
storage = ZODB.FileStorage.FileStorage(db_arg)