0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-14 03:31:50 +02:00

fix(client_utils): autoupdate has correct propagation of BECDockArea to plugin repos

This commit is contained in:
2025-02-18 15:06:53 +01:00
parent 911c81a167
commit 056731c9ad

View File

@ -199,7 +199,7 @@ class BECGuiClient(RPCBase):
# if the module is not found, we skip it
if spec is None:
continue
return ep.load()(gui=self)
return ep.load()(gui=self._top_level["main"].widget)
except Exception as e:
logger.error(f"Error loading auto update script from plugin: {str(e)}")
return None