فهرست منبع

버그 수정

ect (or 2du) 8 سال پیش
والد
کامیت
0700e3aa33
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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('/')