aboutsummaryrefslogtreecommitdiff
path: root/ctec/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'ctec/__main__.py')
-rw-r--r--ctec/__main__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ctec/__main__.py b/ctec/__main__.py
index 84f1215..0ac158b 100644
--- a/ctec/__main__.py
+++ b/ctec/__main__.py
@@ -49,6 +49,9 @@ class CtecFrame:
# so setting a default argument value lets us close over the value instead of just using the most recent value in that name
def fetch_account_folders(account=account):
account.fetch_folders()
+ # TODO do this separately maybe?
+ for folder_name, _ in account.folders():
+ account.fetch_folder(folder_name)
self.update_accounts_tree(updated_account=account)
threading.Thread(target=fetch_account_folders).start()