src/eric7/EricNetwork/EricNetworkProxyFactory.py

branch
eric7
changeset 9482
a2bc06a54d9d
parent 9473
3f23dbf37dbe
child 9624
b47dfa7a137d
diff -r 0b936ff1bbb9 -r a2bc06a54d9d src/eric7/EricNetwork/EricNetworkProxyFactory.py
--- a/src/eric7/EricNetwork/EricNetworkProxyFactory.py	Sun Nov 06 11:22:39 2022 +0100
+++ b/src/eric7/EricNetwork/EricNetworkProxyFactory.py	Mon Nov 07 17:19:58 2022 +0100
@@ -44,12 +44,12 @@
     @param proxy reference to the proxy object (QNetworkProxy)
     @param auth reference to the authenticator object (QAuthenticator)
     """
+    from eric7.UI.AuthenticationDialog import AuthenticationDialog
+
     info = QCoreApplication.translate(
         "EricNetworkProxyFactory", "<b>Connect to proxy '{0}' using:</b>"
     ).format(Utilities.html_encode(proxy.hostName()))
 
-    from eric7.UI.AuthenticationDialog import AuthenticationDialog
-
     dlg = AuthenticationDialog(info, proxy.user(), True)
     dlg.setData(proxy.user(), proxy.password())
     if dlg.exec() == QDialog.DialogCode.Accepted:

eric ide

mercurial