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:
parent
6059cf13ba
commit
8742ff4311
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user