Hack to support hotfixes for now

Will make this check more robust later
This commit is contained in:
Flawed
2026-03-11 01:30:39 -07:00
committed by GitHub
parent 10c4107ddb
commit 65e6d9a197
+2 -2
View File
@@ -131,8 +131,8 @@ def extract_patch_version(html):
if not html or not (m := re.search(r"patch\s+(\d+\.\d+)", html, re.I)):
return None
v = m.group(1)
return v + "0" if len(v.split(".")[1]) == 1 else v
v = v + "0" if len(v.split(".")[1]) == 1 else v
return v + "h" if "HotFixes" in html else v
def is_maintenance_post(title):
"""Returns True if the title represents a primary world maintenance post."""