From e824ee1564806359b580cb7f9975dc8f0aaa2e73 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Sat, 1 May 2021 04:13:08 -0600 Subject: fetch message contents this still has some duplicates and breaks on MIME Content-Transfer-Encoding: 8bit but like. that's life --- ctec/__main__.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ctec/__main__.py') 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() -- cgit v1.2.3