mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-28 02:58:18 +08:00
Fix path checking for files that are not in the tool_data_path directory
This commit is contained in:
@@ -48,8 +48,8 @@ class ToolDataPathFiles(object):
|
||||
path = os.path.abspath(path)
|
||||
if path in self.tool_data_path_files:
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
elif self.tool_data_path not in path:
|
||||
return os.path.exists(path)
|
||||
|
||||
|
||||
class ToolDataTableManager( object ):
|
||||
|
||||
Reference in New Issue
Block a user