Skip to content

Commit 6bbad22

Browse files
committed
Codegen: make codegen work on windows
1 parent 2bec696 commit 6bbad22

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

misc/codegen/loaders/dbschemeloader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def _get_table(match):
3333
name=match["table"],
3434
columns=[_get_column(f) for f in _Re.field.finditer(match["tablebody"])],
3535
keyset=keyset,
36-
dir=pathlib.PosixPath(match["tabledir"]) if match["tabledir"] else None,
36+
dir=pathlib.PurePosixPath(match["tabledir"]) if match["tabledir"] else None,
3737
)
3838

3939

0 commit comments

Comments
 (0)