--- a/eric6/WebBrowser/SafeBrowsing/SafeBrowsingDialog.py Wed Sep 25 18:48:22 2019 +0200 +++ b/eric6/WebBrowser/SafeBrowsing/SafeBrowsingDialog.py Wed Sep 25 18:52:40 2019 +0200 @@ -9,8 +9,9 @@ from PyQt5.QtCore import pyqtSlot, Qt, QUrl, QDateTime -from PyQt5.QtWidgets import QDialog, QDialogButtonBox, QAbstractButton, \ - QApplication +from PyQt5.QtWidgets import ( + QDialog, QDialogButtonBox, QAbstractButton, QApplication +) from E5Gui import E5MessageBox @@ -334,8 +335,10 @@ """ nextUpdateDateTime = Preferences.getWebBrowser( "SafeBrowsingUpdateDateTime") - if not nextUpdateDateTime.isValid() or \ - nextUpdateDateTime <= QDateTime.currentDateTime(): + if ( + not nextUpdateDateTime.isValid() or + nextUpdateDateTime <= QDateTime.currentDateTime() + ): message = self.tr("The next automatic threat list update will be" " done now.") else: