folder/LocalStatus.py split the if

This patch splits the if to avoid multiple commands in the same line.
This commit is contained in:
Rodolfo García Peñas (kix) 2020-08-30 13:34:05 +02:00
parent b257cdca04
commit 5005de021d

View File

@ -230,7 +230,8 @@ class LocalStatusFolder(BaseFolder):
def savemessagelabels(self, uid, labels, mtime=None):
self.messagelist[uid]['labels'] = labels
if mtime: self.messagelist[uid]['mtime'] = mtime
if mtime:
self.messagelist[uid]['mtime'] = mtime
self.save()
def savemessageslabelsbulk(self, labels):