Skip to content
Snippets Groups Projects

Automatically add accounts to a known list after performing the appropriate actions

Merged Jakub Ziebinski requested to merge jziebinski/known-accounts into develop
All threads resolved!
Compare and Show latest version
1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
@@ -139,7 +139,9 @@ class AccountManager:
self._working_account = (
value if isinstance(value, WorkingAccount) else WorkingAccount(Account.ensure_account_name(value))
)
self.known.add(value)
if not self.is_account_known(value):
self.known.add(value)
def unset_working_account(self) -> None:
self._working_account = None
Loading