ect (or 2du) 8 lat temu
rodzic
commit
a23a2a3a12
1 zmienionych plików z 2 dodań i 2 usunięć
  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('/')