Fixed a bug in the network access manager introduced during the FTP job.

Sat, 22 Sep 2012 19:40:50 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 22 Sep 2012 19:40:50 +0200
changeset 2059
52113e2f672a
parent 2058
f3c50aa83266
child 2060
1f3767746974

Fixed a bug in the network access manager introduced during the FTP job.

Helpviewer/Network/NetworkAccessManager.py file | annotate | diff | comparison | revisions
--- a/Helpviewer/Network/NetworkAccessManager.py	Sat Sep 22 19:05:29 2012 +0200
+++ b/Helpviewer/Network/NetworkAccessManager.py	Sat Sep 22 19:40:50 2012 +0200
@@ -194,11 +194,11 @@
         if not realm and 'realm' in auth.options():
             realm = auth.option("realm")
         if realm:
+            info = self.trUtf8("<b>Enter username and password for '{0}', "
+                               "realm '{1}'</b>").format(urlRoot, realm)
+        else:
             info = self.trUtf8("<b>Enter username and password for '{0}'</b>")\
                 .format(urlRoot)
-        else:
-            info = self.trUtf8("<b>Enter username and password for '{0}', "
-                               "realm '{1}'</b>").format(urlRoot, realm)
         
         dlg = AuthenticationDialog(info, auth.user(),
                                    Preferences.getUser("SavePasswords"),

eric ide

mercurial