tencentyun / cos-python-sdk

对象存储服务(Cloud Object Service)Python SDK使用说明
https://www.qcloud.com/doc/product/227/3385
MIT License
20 stars 8 forks source link

character mapping must return integer, None or unicode #8

Open edwinwow opened 8 years ago

edwinwow commented 8 years ago

如果我添加一行

self._secret_key = str(self._secret_key)

这个错误会消失。

但是出现新的错误是:

'ascii' codec can't decode byte 0xe7 in position 2: ordinal not in range(128)