Przeglądaj źródła

버그 임시 수정

ect (or 2du) 8 lat temu
rodzic
commit
bef4f61e71
1 zmienionych plików z 4 dodań i 1 usunięć
  1. 4 1
      func.py

+ 4 - 1
func.py

@@ -132,7 +132,10 @@ def include_check(name, data):
         curs.execute("select link from back where title = ? and type = 'include'", [name])
         curs.execute("select link from back where title = ? and type = 'include'", [name])
         back = curs.fetchall()
         back = curs.fetchall()
         for back_p in back:
         for back_p in back:
-            namumark(back_p[0], data, 1)    
+            curs.execute('select data from data where title = ?', [back_p[0]])
+            data_f = curs.fetchall()
+            if(data_f):
+                namumark(back_p[0], data_f[0][0], 1)  
     
     
 def login_check():
 def login_check():
     session = request.environ.get('beaker.session')
     session = request.environ.get('beaker.session')