Skip to content

Commit

Permalink
Make paths relative since SOURCES.TXT contain weird paths!
Browse files Browse the repository at this point in the history
  • Loading branch information
SnijderC committed Nov 30, 2017
1 parent 3fab681 commit c35bd5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def _libs():
:return dict: name of the lib as key, path of the lib as value
"""
exclude = ('__init__.py', '__init__.pyc', '__pycache__')
lib_dir = os.path.dirname(__file__)
lib_dir = os.path.relpath(os.path.dirname(__file__))
# Filter out self
libs = filter(lambda p: p not in exclude, os.listdir(lib_dir)
)
Expand Down

0 comments on commit c35bd5c

Please sign in to comment.