Skip to content

Commit

Permalink
Minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed May 6, 2024
1 parent 10b5140 commit c1c165e
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 28 deletions.
8 changes: 4 additions & 4 deletions CB/Core.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,9 +434,8 @@ def find_orphans(self):
orphaneconfig = []
directories = []
directoriesspecial = []
ignored = ['.DS_Store']
special = ['+Wowhead_Looter', 'CurseBreakerCompanion', 'SharedMedia_MyMedia', 'WeakAurasCompanion',
'TradeSkillMaster_AppHelper']
ignored = ['.DS_Store', '.git']
special = ['+Wowhead_Looter', 'CurseBreakerCompanion', 'SharedMedia_MyMedia', 'TradeSkillMaster_AppHelper']
for addon in self.config['Addons']:
for directory in addon['Directories']:
directories.append(directory)
Expand Down Expand Up @@ -596,6 +595,7 @@ def detect_accounts(self):
accounts_processed.append(account)
return accounts_processed

# TODO: Refactor to be smarter
def detect_addons(self):
if self.config['WAAAPIKey'] == '':
raise RuntimeError('This feature only matches addons that are in the database of the Wago Addons. Other sou'
Expand All @@ -609,7 +609,7 @@ def detect_addons(self):
output = []
ignored = ['ElvUI_OptionsUI', 'ElvUI_Options', 'ElvUI_Libraries', 'Tukui_Config', '+Wowhead_Looter',
'WeakAurasCompanion', 'CurseBreakerCompanion', 'SharedMedia_MyMedia', 'TradeSkillMaster_AppHelper',
'.DS_Store']
'WagoAnalytics', 'WagoAppCompanion', 'Details_Streamer', 'Details_Vanguard', '.DS_Store', '.git']
specialcases = ['ElvUI', 'Tukui']

addon_dirs = os.listdir(self.path)
Expand Down
2 changes: 1 addition & 1 deletion CB/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import httpx

__version__ = '4.7.0'
__version__ = '4.7.1'
__license__ = 'GPLv3'
__copyright__ = '2019-2024, Paweł Jastrzębski <[email protected]>'
__docformat__ = 'restructuredtext en'
Expand Down
2 changes: 1 addition & 1 deletion CurseBreaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def handle_shutdown(self, message=''):
sys.exit(0)
else:
self.console.print(message)
self.handle_keypress('\nPress any button to continue...', 0, False)
self.handle_keypress('Press any button to continue...', 0, False)
sys.exit(1)

def print_header(self):
Expand Down
44 changes: 22 additions & 22 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c1c165e

Please sign in to comment.