Explorar o código

혹시 모르니

2DU %!s(int64=9) %!d(string=hai) anos
pai
achega
34f8a0300b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -143,7 +143,7 @@ except:
     except:
     except:
         curs.execute("create table cat(title text, cat text)")
         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):
 def show_diff(seqm):
     output= []
     output= []