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= []