Explorar el Código

버그 수정

ect (or 2du) hace 8 años
padre
commit
a23a2a3a12
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      func.py

+ 2 - 2
func.py

@@ -92,7 +92,7 @@ def skin_check(conn):
         curs.execute('select data from other where name = "skin"')
         skin_exist = curs.fetchall()
         if skin_exist:
-            if os.path.exists(os.path.abspath('./views/' + skin_exist[0][0] + '/index.tpl')) == 1:
+            if os.path.exists(os.path.abspath('./views/' + skin_exist[0][0] + '/index.html')) == 1:
                 skin = './views/' + skin_exist[0][0] + '/'
 
     except:
@@ -676,6 +676,6 @@ def re_error(conn, data):
 
         else:
             return redirect('/')
-            
+
     else:
         return redirect('/')