src/eric7/WebBrowser/SpellCheck/ManageDictionariesDialog.py

branch
eric7
changeset 9995
00eb2b418f8e
parent 9984
e99fe0e9a1e3
child 10403
ea3320d5e8e9
--- a/src/eric7/WebBrowser/SpellCheck/ManageDictionariesDialog.py	Sat Apr 29 11:35:32 2023 +0200
+++ b/src/eric7/WebBrowser/SpellCheck/ManageDictionariesDialog.py	Sat Apr 29 11:42:06 2023 +0200
@@ -186,9 +186,8 @@
         self.downloadProgress.setValue(0)
 
         url = self.dictionariesUrlEdit.text()
-        if (
-            self.__enforceUnencryptedDownloads
-            or Preferences.getWebBrowser("ForceHttpDictionaryDownload")
+        if self.__enforceUnencryptedDownloads or Preferences.getWebBrowser(
+            "ForceHttpDictionaryDownload"
         ):
             url = url.replace("https://", "http://")
 
@@ -386,9 +385,8 @@
         if self.__online:
             if self.__dictionariesToDownload:
                 url = self.__dictionariesToDownload.pop(0)
-                if (
-                    self.__enforceUnencryptedDownloads
-                    or Preferences.getWebBrowser("ForceHttpDictionaryDownload")
+                if self.__enforceUnencryptedDownloads or Preferences.getWebBrowser(
+                    "ForceHttpDictionaryDownload"
                 ):
                     url = url.replace("https://", "http://")
                 self.statusLabel.setText(url)

eric ide

mercurial