Skip to content

Commit 52fefb8

Browse files
committed
Use Path to str
1 parent 7e19c40 commit 52fefb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def main() -> None:
2020

2121
lang_dir = os.environ.get("PYDOC_LANG_DIR")
2222
if lang_dir:
23-
pofiles_path = lang_dir
23+
pofiles_path = Path(lang_dir)
2424
else:
2525
language = os.environ.get("PYDOC_LANGUAGE")
2626
if not language:

0 commit comments

Comments
 (0)