Skip to content

Commit

Permalink
Fixed Tukui support (close #299)
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Jun 15, 2021
1 parent fe6e372 commit 746a960
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CB/Core.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,14 +200,14 @@ def parse_url(self, url):
elif url.startswith('https://www.tukui.org/classic-addons.php?id='):
if self.clientType != 'wow_classic':
raise RuntimeError('Incorrect client version.')
elif url.endswith('1') or url.endswith('2'):
elif url.endswith('=1') or url.endswith('=2'):
raise RuntimeError('ElvUI and Tukui cannot be installed this way.')
self.bulk_tukui_check()
return TukuiAddon(url, self.tukuiCache)
elif url.startswith('https://www.tukui.org/classic-tbc-addons.php?id='):
if self.clientType != 'wow_burning_crusade':
raise RuntimeError('Incorrect client version.')
elif url.endswith('1') or url.endswith('2'):
elif url.endswith('=1') or url.endswith('=2'):
raise RuntimeError('ElvUI and Tukui cannot be installed this way.')
self.bulk_tukui_check()
return TukuiAddon(url, self.tukuiCache)
Expand Down
2 changes: 1 addition & 1 deletion CB/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import random
from rich.terminal_theme import TerminalTheme

__version__ = '3.18.0'
__version__ = '3.18.1'
__license__ = 'GPLv3'
__copyright__ = '2019-2021, Paweł Jastrzębski <[email protected]>'
__docformat__ = 'restructuredtext en'
Expand Down

0 comments on commit 746a960

Please sign in to comment.