diff --git a/os.path/metadata.txt b/os.path/metadata.txt index bef75b55..26f9b09f 100644 --- a/os.path/metadata.txt +++ b/os.path/metadata.txt @@ -1,4 +1,4 @@ srctype = micropython-lib type = package -version = 0.1 +version = 0.1.1 author = Paul Sokolovsky diff --git a/os.path/os/path.py b/os.path/os/path.py index 33e81e14..25f336fa 100644 --- a/os.path/os/path.py +++ b/os.path/os/path.py @@ -8,7 +8,9 @@ def normpath(s): return s def abspath(s): - return os.getcwd() + "/" + s + if s[0] != "/": + return os.getcwd() + "/" + s + return s def join(*args): # TODO: this is non-compliant diff --git a/os.path/setup.py b/os.path/setup.py index d4c609f8..c186720b 100644 --- a/os.path/setup.py +++ b/os.path/setup.py @@ -6,7 +6,7 @@ from setuptools import setup setup(name='micropython-os.path', - version='0.1', + version='0.1.1', description='os.path module for MicroPython', long_description="This is a module reimplemented specifically for MicroPython standard library,\nwith efficient and lean design in mind. Note that this module is likely work\nin progress and likely supports just a subset of CPython's corresponding\nmodule. Please help with the development if you are interested in this\nmodule.", url='https://github.com/micropython/micropython/issues/405',