Skip to content

Commit 122ac84

Browse files
committed
Use Live login for usernames, SOAP for emails
1 parent 0d5ce87 commit 122ac84

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

skpy/conn.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,8 @@ def setUserPwd(self, user, pwd):
367367
user (str): username or email address of the connecting account
368368
pwd (str): password of the connecting account
369369
"""
370-
self.skypeTokenClosure(self.soapLogin, user, pwd)
370+
login = self.soapLogin if "@" in user else self.liveLogin
371+
self.skypeTokenClosure(login, user, pwd)
371372

372373
def liveLogin(self, user, pwd):
373374
"""

0 commit comments

Comments
 (0)