mirror of
https://github.com/Garmelon/PFERD.git
synced 2026-04-12 07:25:04 +02:00
Allow synchronizing to directory "."
This commit is contained in:
parent
80ae5ddfaa
commit
7cc40595dc
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ def main() -> None:
|
|||
# files may not escape the pferd_root with relative paths
|
||||
# note: Path(Path.cwd, Path(folder)) == Path(folder) if it is an absolute path
|
||||
pferd_root = Path(Path.cwd(), Path(folder)).parent
|
||||
target = folder.name
|
||||
target = folder.resolve().name
|
||||
pferd = Pferd(pferd_root, test_run=args.test_run)
|
||||
|
||||
def dir_filter(_: Path, element: IliasElementType) -> bool:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue