Skip to content

Commit

Permalink
bugfix fetch festival version
Browse files Browse the repository at this point in the history
  • Loading branch information
mmmaat committed Dec 18, 2018
1 parent e19b3a8 commit 4c24af1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phonemizer/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def version():
['festival', '--version']).decode('latin1').strip()

# extract the version number with a regular expression
festival_version_re = r'.* ([0-9]+\.[0-9]+\.[0-9]+):'
festival_version_re = r'.* ([0-9\.]+[0-9]):'
return re.match(festival_version_re, long_version).group(1)

@staticmethod
Expand Down

0 comments on commit 4c24af1

Please sign in to comment.