Surplus_Up (2DU) 6 лет назад
Родитель
Сommit
3f50914613
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      route/tool/func.py
  2. 1 1
      route/tool/mark.py

+ 1 - 1
route/tool/func.py

@@ -141,7 +141,7 @@ def render_set(title = '', data = '', num = 0, s_data = 0, include = None):
         return data
         return data
     else:
     else:
         if data != None:
         if data != None:
-            return namumark(title, data, num, include)
+            return render_do(title, data, num, include)
         else:
         else:
             return 'HTTP Request 404'
             return 'HTTP Request 404'
 
 

+ 1 - 1
route/tool/mark.py

@@ -42,7 +42,7 @@ def plusing(data):
         if not curs.fetchall():
         if not curs.fetchall():
             curs.execute(db_change("insert into back (title, link, type) values (?, ?, ?)"), [data_in[1], data_in[0], data_in[2]])
             curs.execute(db_change("insert into back (title, link, type) values (?, ?, ?)"), [data_in[1], data_in[0], data_in[2]])
 
 
-def namumark(title, data, num, include):
+def render_do(title, data, num, include):
     curs.execute(db_change('select data from other where name = "markup"'))
     curs.execute(db_change('select data from other where name = "markup"'))
     rep_data = curs.fetchall()
     rep_data = curs.fetchall()
     if rep_data[0][0] == 'namumark':
     if rep_data[0][0] == 'namumark':