Skip to content

Commit a2cd008

Browse files
committed
Change PosixPath to Path so as to avoid Windows-specific bugs
1 parent cfd1c26 commit a2cd008

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tmd/utils/taxcalc_output.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ def add_taxcalc_outputs(
2929
Returns:
3030
pd.DataFrame: The Tax-Calculator output.
3131
"""
32-
if isinstance(weights, pathlib.PosixPath):
32+
if isinstance(weights, pathlib.Path):
3333
wghts = str(weights)
3434
else:
3535
wghts = weights
36-
if isinstance(growfactors, pathlib.PosixPath):
36+
if isinstance(growfactors, pathlib.Path):
3737
growf = taxcalc.GrowFactors(growfactors_filename=str(growfactors))
3838
else:
3939
growf = growfactors

0 commit comments

Comments
 (0)