diff options
author | Vikraman Choudhury <vikraman.choudhury@gmail.com> | 2011-07-11 02:58:35 +0530 |
---|---|---|
committer | Vikraman Choudhury <vikraman.choudhury@gmail.com> | 2011-07-11 02:58:35 +0530 |
commit | 1cb6b9cc00ad839c47453ba3b554df1fb8508508 (patch) | |
tree | 2b963f322ea3d66fa7c2071c3cfe14621c1ff10a /server/config.py | |
parent | per useflag stats (diff) | |
download | gentoostats-1cb6b9cc00ad839c47453ba3b554df1fb8508508.tar.gz gentoostats-1cb6b9cc00ad839c47453ba3b554df1fb8508508.tar.bz2 gentoostats-1cb6b9cc00ad839c47453ba3b554df1fb8508508.zip |
fix tabs
Diffstat (limited to 'server/config.py')
-rw-r--r-- | server/config.py | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/server/config.py b/server/config.py index ae73fc4..6cb9ec3 100644 --- a/server/config.py +++ b/server/config.py @@ -4,18 +4,17 @@ import sys import web db = web.database( - dbn='mysql', - user='gentoo', - pw='gentoo', - db='gentoostats' - ) + dbn='mysql', + user='gentoo', + pw='gentoo', + db='gentoostats' + ) rootdir = os.path.abspath(os.path.dirname(__file__)) + '/' render = web.template.render(rootdir + 'templates/', base='layout') def notfound(): - return web.notfound(render.error_404()) + return web.notfound(render.error_404()) def internalerror(): - return web.internalerror(render.error_500()) - + return web.internalerror(render.error_500()) |