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
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -27,15 +27,15 @@ class AccountManager:
self._watched_accounts = WatchedAccountContainer()
self._known_accounts = KnownAccountContainer()
if known_accounts:
self.known.add(*known_accounts)
if working_account is not None:
self.set_working_account(working_account)
if watched_accounts:
self.watched.add(*watched_accounts)
if known_accounts:
self.known.add(*known_accounts)
@property
def working(self) -> WorkingAccount:
"""
Loading