<reponame>jayvdb/machete
# -*- coding: utf-8 -*-
# pep8: disable-msg=E501
# pylint: disable=C0301

from flask import Flask, render_template
from flask.ext.bootstrap import Bootstrap
from packagesample import __version__
# from packagesample import log
from packagesample.modules import *  # noqa
import __builtin__

app = Flask(__name__)
Bootstrap(app)
__builtin__.chicken = False


@app.context_processor
def get_title():
    return dict(get_title='packagesample v' + str(__version__))


@app.route("/")
def home():
    return render_template('start.html', text=module.main())


def main():
    app.run(host='0.0.0.0', port=5000, debug=True)

# -*- coding: utf-8 -*-
# pep8: disable-msg=E501
# pylint: disable=C0301

from flask import Flask, render_template
from flask.ext.bootstrap import Bootstrap
from packagesample import __version__
# from packagesample import log
from packagesample.modules import *  # noqa
import __builtin__

app = Flask(__name__)
Bootstrap(app)
__builtin__.chicken = False


@app.context_processor
def get_title():
    return dict(get_title='packagesample v' + str(__version__))


@app.route("/")
def home():
    return render_template('start.html', text=module.main())


def main():
    app.run(host='0.0.0.0', port=5000, debug=True)
# -*- coding: utf-8 -*- # pep8: disable-msg=E501 # pylint: disable=C0301 # from packagesample import log # noqa