folder/LocalStatusSQLite.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:37:28 +02:00
parent 8742ff4311
commit a1f907696f

View File

@ -369,7 +369,8 @@ class LocalStatusSQLiteFolder(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
labels = ', '.join(sorted(labels))
if mtime: