X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/3910639f1a69138a73e072da946e056e31de76ef..refs/heads/ultrahaptics:/offlineimap/utils.py?ds=sidebyside diff --git a/offlineimap/utils.py b/offlineimap/utils.py index 5b6976c..5396cd4 100644 --- a/offlineimap/utils.py +++ b/offlineimap/utils.py @@ -1,11 +1,9 @@ -mapping = { 'INBOX': 'inbox' - , '[Google Mail]/All Mail': 'archive' - , '[Google Mail]/Drafts': 'drafts' - , '[Google Mail]/Important': 'important' - , '[Google Mail]/Sent Mail': 'sent' - , '[Google Mail]/Spam': 'spam' - , '[Google Mail]/Starred': 'flagged' - , '[Google Mail]/Bin': 'bin' +mapping = { 'INBOX': 'inbox' + , 'Archive': 'archive' + , 'Drafts': 'drafts' + , 'Sent': 'sent' + , 'Junk Email': 'spam' + , 'Deleted Items': 'bin' } r_mapping = { val: key for key, val in mapping.items() } @@ -16,14 +14,7 @@ def transremote(foldername): def translocal(foldername): return r_mapping.get(foldername, foldername) -top = [ 'inbox' - , 'flagged' - , 'chakra' - , 'unimaas' - , 'clementine' - , 'youtube' - , 'hotmail' - ] +top = [ 'inbox' ] bot = [ 'archive' , 'drafts'