[Mod]修改token生成的字符串
This commit is contained in:
parent
915a4bfcb0
commit
0b5d0a928c
@ -40,7 +40,7 @@ with open("WEB_setting.json") as f:
|
||||
setting = json.load(f)
|
||||
USERNAME = setting['username']
|
||||
PASSWORD = setting['password']
|
||||
TOKEN = base64.encodestring(TODAY+PASSWORD)
|
||||
TOKEN = base64.encodestring(TODAY+PASSWORD).replace('\n', '')
|
||||
|
||||
|
||||
# 创建Flask对象
|
||||
|
Loading…
Reference in New Issue
Block a user