Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #71 from grrttedwards/wowinterface-addon-name-fix
Browse files Browse the repository at this point in the history
Wowinterface addon name fix
  • Loading branch information
grrttedwards authored Sep 25, 2019
2 parents 2756779 + 2df4774 commit 6a71609
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Changelog

* 9/24/2019
Fix WoWInterface site to accept any characters for the addon name instead of a more rigid regex.

* 9/23/2019
Add message for when Curse is being a jerk and blocking your requests.

Expand Down
2 changes: 1 addition & 1 deletion updater/site/wowinterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ def get_latest_version(self):

def get_addon_name(self):
addon_name = AbstractSite.get_addon_name(self)
addon_name = re.search(r"info[0-9]+-(?P<name>[a-zA-z0-9]+)\.html", addon_name).group('name')
addon_name = re.search(r"info[0-9]+-(?P<name>.+)\.html", addon_name).group('name')
return addon_name

0 comments on commit 6a71609

Please sign in to comment.