Skip to content

Commit

Permalink
Update conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer committed Jan 14, 2023
1 parent f89c4b1 commit 91098a2
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 @@ -67,7 +67,7 @@

_path = Path(__file__).parent.parent / "aiocache/__init__.py"
try:
version = re.findall(r"^__version__ = \"([^']+)\"\r?$", _path.read_text())[0]
version = re.findall(r'__version__ = "(.+?)"', _path.read_text())[0]
release = version
except IndexError:
raise RuntimeError("Unable to determine version.")
Expand Down

0 comments on commit 91098a2

Please sign in to comment.