Skip to content

Commit 2e44144

Browse files
committed
Resolve merge path to absolute to avoid ValueError
https://git.afpy.org/AFPy/potodo/issues/35
1 parent dea3d75 commit 2e44144

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

completion.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ def get_completion(
4343
break
4444
path_for_merge = Path(clones_dir, 'rebased_translations', repo)
4545
project = potodo.merge_and_scan_paths(
46-
[clone_path.resolve()],
46+
[clone_path],
4747
pot_path=Path(clones_dir, 'cpython/Doc/build/gettext'),
48-
merge_path=path_for_merge,
48+
merge_path=path_for_merge.resolve(),
4949
api_url='',
5050
)
5151
completion = project.completion

0 commit comments

Comments
 (0)