]> WPIA git - motion.git/blobdiff - motion.py
chg: crop time at second precision
[motion.git] / motion.py
index 9011d37fe4f3feded5a3701247639b0660e15688..b74438d3a92aaaa89f5ae7820f1fd145c729113a 100644 (file)
--- a/motion.py
+++ b/motion.py
@@ -4,6 +4,7 @@ from flask import render_template, redirect
 from flask import request
 import postgresql
 import config
+import filters
 
 times=[3,5,14]
 
@@ -15,6 +16,9 @@ def get_db():
     return db
 
 app = Flask(__name__)
+app.register_blueprint(filters.blueprint)
+
+
 
 @app.teardown_appcontext
 def close_connection(exception):
@@ -85,4 +89,3 @@ def vote(motion):
 
 # TODO cancel running motion (with comment)
 # TODO authentication/user management
-# TODO crop time at second precision