eric6/WebBrowser/SafeBrowsing/SafeBrowsingDialog.py

changeset 7269
0c63ea7f94bd
parent 7229
53054eb5b15a
child 7360
9190402e4505
diff -r a28338eaf694 -r 0c63ea7f94bd eric6/WebBrowser/SafeBrowsing/SafeBrowsingDialog.py
--- 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:

eric ide

mercurial