Skip to content

Commit

Permalink
Added Layday GitHub addon catalogue to autocomplete list
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Jul 16, 2022
1 parent 7a56c31 commit 68d5ab6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CurseBreaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ def setup_completer(self):
requests.get('https://storage.googleapis.com/cursebreaker/slugs-v2.json.gz',
headers=HEADERS, timeout=5).content)))
except Exception:
self.slugs = {'wa': [], 'wowi': []}
self.slugs = {'wa': [], 'wowi': [], 'gh': []}
addons = []
for addon in sorted(self.core.config['Addons'], key=lambda k: k['Name'].lower()):
addons.append(addon['Name'])
Expand All @@ -351,6 +351,8 @@ def setup_completer(self):
slugs.append(f'wa:{item}')
for item in self.slugs['wowi']:
slugs.append(f'wowi:{item}')
for item in self.slugs['gh']:
slugs.append(f'gh:{item}')
slugs.extend(['ElvUI:Dev', 'Tukui:Dev', 'Shadow&Light:Dev'])
accounts = []
for account in self.core.detect_accounts():
Expand Down

0 comments on commit 68d5ab6

Please sign in to comment.