aboutsummaryrefslogtreecommitdiff
path: root/.offlineimap.py
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2012-05-07 08:32:11 -0400
committerRyan Kavanagh <rak@debian.org>2012-05-07 08:32:11 -0400
commit363c8abd80ffb059433da675b8390c43f1a46048 (patch)
treed076a924fa5d8b35ca066738f696a09a193adf88 /.offlineimap.py
parentUpdate epsilon-home screenlayout to have large screen above little screen (diff)
Fix the folder prioritising in offlineimap
Diffstat (limited to '.offlineimap.py')
-rw-r--r--.offlineimap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/.offlineimap.py b/.offlineimap.py
index 334b6a8..2d1f5f9 100644
--- a/.offlineimap.py
+++ b/.offlineimap.py
@@ -4,8 +4,8 @@ prioritized = ['INBOX', 'QueensU.INBOX']
def mycmp(x, y):
for prefix in prioritized:
- xsw = x.startswith(prefix)
- ysw = y.startswith(prefix)
+ xsw = x.visiblename.startswith(prefix)
+ ysw = y.visiblename.startswith(prefix)
if xsw and ysw:
return cmp(x, y)
elif xsw: