From e84e932df43b2ce5c5542eb8cc88c6bfbc598c65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20=28kix=29?= Date: Fri, 28 Aug 2020 12:49:03 +0200 Subject: [PATCH] Changed wrong comparison equal --- offlineimap/repository/IMAP.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/offlineimap/repository/IMAP.py b/offlineimap/repository/IMAP.py index 829741d..a04a4a4 100644 --- a/offlineimap/repository/IMAP.py +++ b/offlineimap/repository/IMAP.py @@ -544,7 +544,7 @@ class IMAPRepository(BaseRepository): :param foldername: Full path of the folder to be created.""" - if foldername is '': + if foldername == '': return if self.getreference():