Skip to content

Commit

Permalink
Change regex to find between double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Ho committed Nov 9, 2018
1 parent 75066ad commit 211b8be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __getattr__(cls, name):

def get_version():
with open('../pyutils_sh/version.py') as f:
p = re.compile(r"'.*'$")
p = re.compile(r"\".*\"$")
return re.findall(p, f.read().strip())[0]

# -- General configuration ------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion pyutils_sh/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.5.3'
__version__ = "1.5.3"

0 comments on commit 211b8be

Please sign in to comment.