File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -747,6 +747,9 @@ def __config(self, **kwargs):
747747 if u'protocol' not in kwargs :
748748 setattr (self , u'_protocol' , u'https' )
749749
750+ if self ._authenticator :
751+ self ._authenticator = self ._authenticator .upper ()
752+
750753 if not self .user and self ._authenticator != OAUTH_AUTHENTICATOR :
751754 # OAuth Authentication does not require a username
752755 Error .errorhandler_wrapper (
@@ -759,9 +762,6 @@ def __config(self, **kwargs):
759762 if self ._private_key :
760763 self ._authenticator = KEY_PAIR_AUTHENTICATOR
761764
762- if self ._authenticator :
763- self ._authenticator = self ._authenticator .upper ()
764-
765765 if self ._authenticator != EXTERNAL_BROWSER_AUTHENTICATOR and \
766766 self ._authenticator != OAUTH_AUTHENTICATOR and \
767767 self ._authenticator != KEY_PAIR_AUTHENTICATOR :
You can’t perform that action at this time.
0 commit comments