Skip to content

Commit

Permalink
Fix invalid escape sequence \d in setup.py for Python 3 (#612)
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmaysinghal98 authored Dec 27, 2020
1 parent 6ccc5a9 commit 4bda718
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 @@ -18,7 +18,7 @@ def read(*parts):


def get_version():
return re.findall("__version__ = '([\d\.]+)'",
return re.findall(r"__version__ = '([\d\.]+)'",
read('mozdownload', 'cli.py'), re.M)[0]


Expand Down

0 comments on commit 4bda718

Please sign in to comment.