Skip to content

Commit

Permalink
Fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
funilrys committed Jun 13, 2018
1 parent 47b3a5b commit 7461341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def _get_version(full=False):
"""

to_match = comp(r'VERSION\s=\s"(.*)"\n')
extracted = to_match.findall(open("../../PyFunceble/__init__.py").read())[0]
extracted = to_match.findall(open("../PyFunceble/__init__.py").read())[0]

if not full:
return ".".join(list(filter(lambda x: x.isdigit(), extracted.split("."))))
Expand Down

0 comments on commit 7461341

Please sign in to comment.