Skip to content

Commit 2f0d72e

Browse files
committed
Merge pull request #126 from wJsJwr/master
Modify regex to only match correct nw versions
2 parents f8c56b7 + e5a1067 commit 2f0d72e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

command_line.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ def get_versions(self):
368368

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

373373
union_versions = old_versions.union(new_versions)
374374

0 commit comments

Comments
 (0)