folder/LocalStatusSQLite.py changed not var in

This patch changes:

if not var1 in var2

with

if var1 not in var2
This commit is contained in:
Rodolfo García Peñas (kix) 2020-08-30 13:36:40 +02:00
parent 6059cf13ba
commit 8742ff4311

View File

@ -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])