diff --git a/config/database.py b/config/database.py index 0de68a2..11623eb 100755 --- a/config/database.py +++ b/config/database.py @@ -1,7 +1,7 @@ main_db = { - 'host' : 'localhost', - 'user' : 'root', - 'password' : '', - 'database' : 'your_db', - 'autocommit' : True, + 'host' : 'localhost', + 'user' : 'root', + 'password' : '', + 'database' : 'your_db', + 'autocommit' : True, } diff --git a/handler.py b/handler.py index e847335..025f94c 100755 --- a/handler.py +++ b/handler.py @@ -1,10 +1,10 @@ import cherrypy import json -import config.directory as directory +import config.directory as directory -import templates.basic_bootstrap.main as basic_bootstrap +import templates.bare.main as bare -import modules.public.home as public_home +import modules.public.home as public_home @cherrypy.tools.accept(media="application/json") class handler(): diff --git a/modules/public/home.py b/modules/public/home.py index 19983c8..c4a7389 100644 --- a/modules/public/home.py +++ b/modules/public/home.py @@ -1,8 +1,5 @@ -from mako.template import Template -import mysql.connector as mariadb - -import config.database as database -import config.globalvar as globalvar +from mako.template import Template +import config.globalvar as globalvar class main: diff --git a/page/public/home.html b/page/public/home.html index 2ef0f8b..9aa1702 100644 --- a/page/public/home.html +++ b/page/public/home.html @@ -1,9 +1,9 @@
${greeting}
-${greeting}