]> code.communitydata.science - nu-vpn-proxy.git/commitdiff
I swear I know how to write Python 🤦🏻‍♂
authorDaniel Lenski <dlenski@gmail.com>
Mon, 23 Mar 2020 22:18:36 +0000 (15:18 -0700)
committerDaniel Lenski <dlenski@gmail.com>
Mon, 23 Mar 2020 22:18:36 +0000 (15:18 -0700)
gp-saml-gui.py

index 2860812237732cebbed4893d2259d38ebf1e4c49..54d14c2693d502a85657f8bfa7c51c2394b2e831 100755 (executable)
@@ -257,7 +257,7 @@ if __name__ == "__main__":
     if args.verbose:
         # Warn about ambiguities
         if server != args.server and not args.uri:
-            print('''IMPORTANT: During the SAML auth, you were redirected from {} to {1}. This probably '''
+            print('''IMPORTANT: During the SAML auth, you were redirected from {0} to {1}. This probably '''
                   '''means you should specify {1} as the server for final connection, but we're not 100% '''
                   '''sure about this. You should probably try both.\n'''.format(args.server, server), file=stderr)
         if ifh != args.interface and not args.uri:

Community Data Science Collective || Want to submit a patch?