We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c45ccbd commit d4a2f4dCopy full SHA for d4a2f4d
wechat_sdk/lib/crypto/base.py
@@ -79,5 +79,5 @@ def get_random_str(self):
79
80
@return: 16位字符串
81
"""
82
- rule = string.letters + string.digits
+ rule = string.ascii_letters + string.digits
83
return "".join(random.sample(rule, 16))
0 commit comments