string should be a Path object

This commit is contained in:
Martin Diehl 2020-06-03 15:17:00 +02:00
parent 18849c3a69
commit 5da1aa49bc
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class Marc:
def tools_path(self):
path_MSC = Environment().options['MSC_ROOT']
path_tools = '{}/marc{}/tools'.format(path_MSC,self.version)
path_tools = Path('{}/marc{}/tools'.format(path_MSC,self.version))
return path_tools if path_tools.is_file() else None