We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Traceback (most recent call last): File "sample.py", line 103, in test_queryBindList() File "sample.py", line 53, in test_queryBindList ret = c.queryBindList(user_id, optional) File "../Channel.py", line 181, in queryBindList return self._commonProcess(arrArgs) File "../Channel.py", line 493, in _commonProcess ret = self._baseControl(paramOpt) File "../Channel.py", line 465, in _baseControl url += resource TypeError: cannot concatenate 'str' and 'int' objects Channel.py 464 url = 'http://' + host + '/rest/2.0/' + Channel.PRODUCT + '/' 465 url += resource 改为 464 url = 'http://{}/rest/2.0/{}/{}'.format(host,Channel.PRODUCT,resource)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Traceback (most recent call last):
File "sample.py", line 103, in
test_queryBindList()
File "sample.py", line 53, in test_queryBindList
ret = c.queryBindList(user_id, optional)
File "../Channel.py", line 181, in queryBindList
return self._commonProcess(arrArgs)
File "../Channel.py", line 493, in _commonProcess
ret = self._baseControl(paramOpt)
File "../Channel.py", line 465, in _baseControl
url += resource
TypeError: cannot concatenate 'str' and 'int' objects
Channel.py
464 url = 'http://' + host + '/rest/2.0/' + Channel.PRODUCT + '/'
465 url += resource
改为
464 url = 'http://{}/rest/2.0/{}/{}'.format(host,Channel.PRODUCT,resource)
The text was updated successfully, but these errors were encountered: