diff --git a/offlineimap/accounts.py b/offlineimap/accounts.py index e59c13a..f89f3da 100644 --- a/offlineimap/accounts.py +++ b/offlineimap/accounts.py @@ -395,9 +395,7 @@ class SyncableAccount(Account): # their names since this would cause troubles while converting # the name back (from local to remote). sep = localrepos.getsep() - if (sep == os.path.sep or - sep == remoterepos.getsep() or - sep in remotefolder.getname()): + if sep in remotefolder.getname(): self.ui.warn('', "Ignoring folder '%s' due to unsupported " "'%s' character serving as local separator."% (remotefolder.getname(), localrepos.getsep()))