From 7b28ba764f532defe74216c1e9c18da4108cf41a Mon Sep 17 00:00:00 2001 From: Alex Wolf Date: Thu, 25 Jul 2024 13:09:56 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lamindb_setup/core/_hub_core.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lamindb_setup/core/_hub_core.py b/lamindb_setup/core/_hub_core.py index 69fa80a5f..745b67a76 100644 --- a/lamindb_setup/core/_hub_core.py +++ b/lamindb_setup/core/_hub_core.py @@ -108,11 +108,11 @@ def _select_storage( # if the request is agnostic of the instance, that's alright, # we'll update the instance_id with what's stored in the hub ssettings._instance_id = UUID(existing_storage["instance_id"]) - ssettings._uuid_ = UUID(existing_storage["id"]) - if update_uid: - ssettings._uid = existing_storage["lnid"] - else: - assert ssettings._uid == existing_storage["lnid"] + ssettings._uuid_ = UUID(existing_storage["id"]) + if update_uid: + ssettings._uid = existing_storage["lnid"] + else: + assert ssettings._uid == existing_storage["lnid"] return True