Skip to content

Commit

Permalink
Fix previous patch #915
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo Peng committed Mar 7, 2018
1 parent d88dd2f commit c01faf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sos/targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ def __new__(cls, *args, **kwargs):
if cls is Path:
cls = WindowsPath if os.name == 'nt' else PosixPath

return cls._from_parts(*args, **kwargs).expanduser()
return cls._from_parts(args).expanduser()

def is_external(self):
try:
Expand Down

0 comments on commit c01faf0

Please sign in to comment.