소스 검색

호환성 때문에

2DU 9 년 전
부모
커밋
1aecceaa5e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      func.py

+ 1 - 1
func.py

@@ -23,7 +23,7 @@ def db_get():
     return curs.fetchall()
 
 def sha224(data):
-    return hashlib.sha3_224(bytes(data, 'utf-8')).hexdigest()
+    return hashlib.sha224(bytes(data, 'utf-8')).hexdigest()
     
 db_ex = curs.execute
 db_pas = pymysql.escape_string