Skip to content

Commit

Permalink
version 0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinVignal committed Feb 19, 2020
1 parent dd80406 commit c95d88d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion epicpath/EpicPath.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ def __fspath__(self):
# ----------------------------------------------------------------------------------------------------

def __getattr__(self, attr):
return getattr(self.p, attr)
p = object.__getattribute__(self, '_p')
return getattr(p, attr)

def __str__(self):
return str(self.p)
Expand Down Expand Up @@ -127,6 +128,14 @@ def p(self, p):
else:
self._p = Path(str(p))

@property
def path(self):
return self.p

@path.setter
def path(self, p):
self.p = p

@property
def str(self):
"""
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='epic-path',
version='0.0.3',
version='0.0.4',
url='https://github.com/ValentinVignal/EpicPath.git',
license='MIT',
author='Valentin Vignal',
Expand Down

0 comments on commit c95d88d

Please sign in to comment.