Ver Fonte

HEAD 상하위 구조 제거

Surplus_Up (2DU) há 6 anos atrás
pai
commit
23e6cf3581
2 ficheiros alterados com 11 adições e 9 exclusões
  1. 10 8
      route/tool/func.py
  2. 1 1
      version.json

+ 10 - 8
route/tool/func.py

@@ -570,17 +570,19 @@ def wiki_set(num = 1):
         else:
             data_list += [data_list[0]]
 
+        head_data = ''
+
+        curs.execute(db_change("select data from other where name = 'head' and coverage = ''"))
+        db_data = curs.fetchall()
+        if db_data and db_data[0][0] != '':
+            head_data += db_data[0][0]
+
         curs.execute(db_change("select data from other where name = 'head' and coverage = ?"), [skin_check(1)])
         db_data = curs.fetchall()
         if db_data and db_data[0][0] != '':
-            data_list += [db_data[0][0]]
-        else:
-            curs.execute(db_change("select data from other where name = 'head' and coverage = ''"))
-            db_data = curs.fetchall()
-            if db_data and db_data[0][0] != '':
-                data_list += [db_data[0][0]]
-            else:
-                data_list += ['']
+            head_data += db_data[0][0]
+            
+        data_list += [head_data]
 
         return data_list
 

+ 1 - 1
version.json

@@ -1,6 +1,6 @@
 {
     "master" : {
-        "r_ver" : "v3.1.8-master-04",
+        "r_ver" : "v3.1.8-master-05",
         "c_ver" : "3180200",
         "s_ver" : "8"
     }, "stable" : {