Fix code style

This commit is contained in:
Rebecca Law
2015-11-23 14:55:37 +00:00
parent 8fe27825c9
commit ba14e1263b
2 changed files with 6 additions and 9 deletions

View File

@@ -1,4 +1,5 @@
https://travis-ci.org/alphagov/notifications-admin.svg
[![Build Status](https://api.travis-ci.org/alphagov/noworlktifications-admin.svg?branch=master)](https://api.travis-ci.org/alphagov/notifications-admin.svg?branch=master)
# notifications-admin
Application to handle the admin functions of the notifications application.

12
app.py
View File

@@ -1,15 +1,10 @@
import os
from flask import Flask, render_template
from flask.ext import assets
from flask.ext.assets import Environment, Bundle
#from flask.ext.scss import Scss
#from flask.ext.sass import sass
from webassets.filter import get_filter
app = Flask(__name__)
#Scss(app, static_dir='static', asset_dir='assets/stylesheets')
#sass(app, input_dir='assets/stylesheets', output_dir='static')
# debug mode - switch to False for production
app.config['ASSETS_DEBUG'] = True
@@ -91,15 +86,16 @@ env.register(
def index():
return render_template('index.html')
@app.route("/govuk")
def govuk():
return render_template('govuk_template.html')
@app.route("/helloworld")
def helloworld():
return render_template('hello-world.html')
if __name__ == "__main__":
app.run(debug=True)
if __name__ == '__main__':
app.run(debug=True)