瀏覽代碼

혹시 모르니

2DU 9 年之前
父節點
當前提交
34f8a0300b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -143,7 +143,7 @@ except:
     except:
         curs.execute("create table cat(title text, cat text)")
 
-app.secret_key = hashlib.sha512(bytes(data['key'])).hexdigest()
+app.secret_key = str(hashlib.sha512(bytes(data['key'])).hexdigest())
 
 def show_diff(seqm):
     output= []