folder/LocalStatusSQLite.py split the if
This patch splits the if to avoid multiple commands in the same line.
This commit is contained in:
parent
8742ff4311
commit
a1f907696f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user