From d2c7c020ab5fd41b4d57f020f18f54985333c1b7 Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Thu, 1 Sep 2022 02:01:43 +0200 Subject: [PATCH] Add better support for WotLK --- wau/addons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wau/addons.py b/wau/addons.py index 9fcf217..fbc24d2 100644 --- a/wau/addons.py +++ b/wau/addons.py @@ -130,7 +130,7 @@ def toc_stem(toc: str): Removes AddOn .toc client version suffixes, such as '-Classic.toc' or '-BCC.toc'. See https://github.com/Stanzilla/WoWUIBugs/issues/68#issuecomment-889431675 for more information. """ - return re.sub(r"(.*)[_-](Classic|Vanilla|BCC|TBC|Mainline)(\.toc)", r"\1\3", toc) + return re.sub(r"(.*)[_-](Classic|Vanilla|BCC|TBC|Wrath|WotLK|Mainline)(\.toc)", r"\1\3", toc) def get_valid_dir_filename(s: str) -> str: