Skip to content

Commit

Permalink
πŸ› Handle paths in jinja on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael Krupinski committed Feb 2, 2024
1 parent 2b1586d commit 76dbb83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/rybak/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'render',
]

from pathlib import Path
from pathlib import Path, PosixPath
from typing import Any, Iterable, Mapping, Optional, Type, Union

from ._types import TemplateData
Expand Down Expand Up @@ -46,6 +46,6 @@ def render(
excluded=excluded,
remove_suffixes=remove_suffixes,
),
Path(),
Path(),
PosixPath(),
PosixPath(),
).render(data)

0 comments on commit 76dbb83

Please sign in to comment.