From e6c50e078e2fa30a3cda84e6a9e5112ee47cb36e Mon Sep 17 00:00:00 2001 From: Antonio de la Rosa Date: Mon, 23 May 2016 05:42:45 +0200 Subject: [PATCH] Fix in index.py --- paramecio/modules/welcome/index.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paramecio/modules/welcome/index.py b/paramecio/modules/welcome/index.py index 1231382..f5379cb 100644 --- a/paramecio/modules/welcome/index.py +++ b/paramecio/modules/welcome/index.py @@ -15,17 +15,17 @@ def home(): return t.load_template('welcome.html', title="Welcome to Paramecio!!!", content="The simple web framework writed in Python3!!!") -""" @route('/welcome/') def page(id): + t=PTemplate(env) + return t.load_template('index.html', title="A simple example of a page", id=id, value=request.query.value) @route('/welcome/test/') def test(id): return make_url('welcome/test/5', {'ohmygod': 'This is gooood', 'shutup':'Shut up!!'}) -""" if config.default_module=="welcome":