From 7044abba051120f81cf95445aa2f4f8edf7ca201 Mon Sep 17 00:00:00 2001 From: Everaldo Date: Tue, 11 Jul 2023 14:58:44 -0700 Subject: [PATCH] Set plugin name to the folder name for Advanced plugins. (#290) --- biothings/hub/dataplugin/assistant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/biothings/hub/dataplugin/assistant.py b/biothings/hub/dataplugin/assistant.py index 6360cef37..2e98f3833 100644 --- a/biothings/hub/dataplugin/assistant.py +++ b/biothings/hub/dataplugin/assistant.py @@ -747,7 +747,7 @@ def plugin_name(self): try: self._plugin_name = get_plugin_name_from_local_manifest( os.path.join(btconfig.DATA_PLUGIN_FOLDER, src_folder_name) - ) + ) or src_folder_name except Exception as ex: self.logger.exception(ex) self._plugin_name = src_folder_name