Skip to content

Commit

Permalink
pythn < 3.6 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell committed Aug 28, 2017
1 parent 9fd517b commit da0e744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsonextended/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ def maketemp(self, getoutput=False):
os.remove(dirpath)
else:
temppath = pathlib.Path(tempfile.mkdtemp())
dirpath = os.path.join(os.path.dirname(temppath), self.name)
dirpath = os.path.join(os.path.dirname(str(temppath)), self.name)
os.rename(temppath, dirpath)
temppath = pathlib.Path(dirpath)
try:
Expand Down

0 comments on commit da0e744

Please sign in to comment.