Skip to content

Commit

Permalink
Merge pull request #126 from wJsJwr/master
Browse files Browse the repository at this point in the history
Modify regex to only match correct nw versions
  • Loading branch information
jyapayne committed Apr 7, 2016
2 parents f8c56b7 + e5a1067 commit 2f0d72e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ def get_versions(self):

old_versions = set(nw_version.values)
old_versions = old_versions.union(union_versions)
new_versions = set(re.findall('(\S+) / \S+', html))
new_versions = set(re.findall('(\S+) / \d{2}-\d{2}-\d{4}', html))

union_versions = old_versions.union(new_versions)

Expand Down

0 comments on commit 2f0d72e

Please sign in to comment.