diff --git a/offlineimap/folder/LocalStatusSQLite.py b/offlineimap/folder/LocalStatusSQLite.py index 2c8f170..fb9679d 100644 --- a/offlineimap/folder/LocalStatusSQLite.py +++ b/offlineimap/folder/LocalStatusSQLite.py @@ -421,7 +421,7 @@ class LocalStatusSQLiteFolder(BaseFolder): # Interface from BaseFolder def deletemessage(self, uid): - if not uid in self.messagelist: + if uid not in self.messagelist: return self.__sql_write('DELETE FROM status WHERE id=?', (uid,)) del (self.messagelist[uid])