mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Make it explicit
Co-Authored-By: Nicola Soranzo <nicola.soranzo@gmail.com>
This commit is contained in:
committed by
Nicola Soranzo
co-authored by
Nicola Soranzo
parent
cd3936bfb0
commit
1cafdf9397
@@ -839,7 +839,8 @@ class AbstractToolBox(Dictifiable, ManagesIntegratedToolPanelMixin):
|
||||
if os.path.isdir(child_path) and recursive:
|
||||
self.__watch_directory(child_path, elems, integrated_elems, load_panel_dict, recursive)
|
||||
elif self._looks_like_a_tool(child_path):
|
||||
tool_loaded = quick_load(child_path, async_load=False)
|
||||
tool_id = quick_load(child_path, async_load=False)
|
||||
tool_loaded = bool(tool_id)
|
||||
if (tool_loaded or force_watch) and self._tool_watcher:
|
||||
self._tool_watcher.watch_directory(directory, quick_load)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user