Fix path checking for files that are not in the tool_data_path directory

This commit is contained in:
mvdbeek
2017-05-01 16:06:42 +02:00
parent b72994fe02
commit 84c1559d47
+2 -2
View File
@@ -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 ):