ect (or 2du) před 8 roky
rodič
revize
0700e3aa33
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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"')
         curs.execute('select data from other where name = "skin"')
         skin_exist = curs.fetchall()
         skin_exist = curs.fetchall()
         if skin_exist:
         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] + '/'
                 skin = './views/' + skin_exist[0][0] + '/'
 
 
     except:
     except:
@@ -676,6 +676,6 @@ def re_error(conn, data):
 
 
         else:
         else:
             return redirect('/')
             return redirect('/')
-            
+
     else:
     else:
         return redirect('/')
         return redirect('/')