From 22dc2c730d03c5e40174c12fc6509e896c46dc7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jastrz=C4=99bski?= Date: Tue, 23 Jun 2020 08:32:50 +0200 Subject: [PATCH] Fixed WA updater account recognition (close #63) --- CurseBreaker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CurseBreaker.py b/CurseBreaker.py index 99509f3..2e3636f 100644 --- a/CurseBreaker.py +++ b/CurseBreaker.py @@ -494,7 +494,7 @@ def c_wa_update(self, _, verbose=True): accounts = self.core.detect_accounts() if len(accounts) == 0: return - elif len(accounts) > 1 and self.core.config['WAUsername'] == '': + elif len(accounts) > 1 and self.core.config['WAAccountName'] == '': if verbose: self.console.print('More than one WoW account detected.\nPlease use [white]set_wa_wow_account[/whit' 'e] command to set the correct account name.') @@ -502,7 +502,7 @@ def c_wa_update(self, _, verbose=True): self.console.print('\n[green]More than one WoW account detected.[/green]\nPlease use [white]set_wa_' 'wow_account[/white] command to set the correct account name.') return - elif len(accounts) == 1 and self.core.config['WAUsername'] == '': + elif len(accounts) == 1 and self.core.config['WAAccountName'] == '': self.core.config['WAAccountName'] = accounts[0] self.core.save_config() wa = WagoUpdater(self.core.config['WAUsername'], self.core.config['WAAccountName'],