diff --git a/wfexs_backend/workflow.py b/wfexs_backend/workflow.py index 6aa173cc..849d1377 100644 --- a/wfexs_backend/workflow.py +++ b/wfexs_backend/workflow.py @@ -2410,7 +2410,7 @@ def _fetchRemoteFile( if not hardenPrettyLocal: if prettyLocal.is_symlink(): # Path.readlink was added in Python 3.9 - oldLocal = os.readlink(prettyLocal) + oldLocal = pathlib.Path(os.readlink(prettyLocal)) hardenPrettyLocal = oldLocal != matContent.local elif prettyLocal.exists():