From 5005de021df0323bc83b33c87c3593ac206c51ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20=28kix=29?= Date: Sun, 30 Aug 2020 13:34:05 +0200 Subject: [PATCH] folder/LocalStatus.py split the if This patch splits the if to avoid multiple commands in the same line. --- offlineimap/folder/LocalStatus.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/offlineimap/folder/LocalStatus.py b/offlineimap/folder/LocalStatus.py index 4a83e53..43e6073 100644 --- a/offlineimap/folder/LocalStatus.py +++ b/offlineimap/folder/LocalStatus.py @@ -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):