Skip to content

Commit 7cd6224

Browse files
committed
Fix UqerClient
1 parent fae504c commit 7cd6224

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

shipane_sdk/uqer/client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
class UqerClient(BaseQuantClient):
12-
BASE_URL = 'https://gw.wmcloud.com'
12+
BASE_URL = 'https://gw.datayes.com'
1313

1414
def __init__(self, **kwargs):
1515
super(UqerClient, self).__init__('Uqer')
@@ -31,7 +31,6 @@ def login(self):
3131
'Origin': self.BASE_URL,
3232
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
3333
}
34-
self._session.get(self.BASE_URL, timeout=self._timeout)
3534
response = self._session.post('{}/usermaster/authenticate/v1.json'.format(self.BASE_URL), data={
3635
'username': self._username,
3736
'password': self._password,

0 commit comments

Comments
 (0)