Skip to content

Commit

Permalink
Fix the regex used for matching the version (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
harish-everest authored Jul 14, 2021
1 parent 101903a commit 1132aba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def get_version():
filename = os.path.join(HERE, "pgsync", "__init__.py")
with open(filename) as f:
contents = f.read()
pattern = r"^__version__ = '(.*?)'$"
pattern = r"^__version__ = \"(.*?)\"$"
return re.search(pattern, contents, re.MULTILINE).group(1)


Expand Down

0 comments on commit 1132aba

Please sign in to comment.