|
|
@@ -99,12 +99,6 @@ curs = conn.cursor(pymysql.cursors.DictCursor)
|
|
|
|
|
|
def redirect(data):
|
|
|
return '<meta http-equiv="refresh" content="0;url=' + data + '" />'
|
|
|
-
|
|
|
-def db_com():
|
|
|
- return conn.commit()
|
|
|
-
|
|
|
-def db_get():
|
|
|
- return curs.fetchall()
|
|
|
|
|
|
web_render = render_template
|
|
|
db_ex = curs.execute
|
|
|
@@ -120,6 +114,12 @@ except:
|
|
|
from func import *
|
|
|
from mark import *
|
|
|
|
|
|
+def db_com():
|
|
|
+ return conn.commit()
|
|
|
+
|
|
|
+def db_get():
|
|
|
+ return curs.fetchall()
|
|
|
+
|
|
|
start()
|
|
|
|
|
|
app.secret_key = sha224(set_data['key'])
|