mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
Fix FileNotFoundError on Windows
This commit is contained in:
parent
f85b75df8c
commit
07a75a37c3
@ -148,7 +148,7 @@ class OutputDirectory:
|
||||
# If you want longer paths, you will have to add the "\\?\" prefix
|
||||
# in front of your path. See:
|
||||
# https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#maximum-path-length-limitation
|
||||
self._root = Path("\\\\?\\" + str(root))
|
||||
self._root = Path("\\\\?\\" + str(root.absolute()))
|
||||
else:
|
||||
self._root = root
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user