Skip to content

Commit e5a1067

Browse files
committed
fix the regex to fetch nw_versions correctly
1 parent f8c56b7 commit e5a1067

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)