fix some small formatting issues

This commit is contained in:
Martin
2016-10-22 03:26:36 +02:00
parent 2e78700857
commit 7fc34d9ee7
3 changed files with 4 additions and 2 deletions
+1
View File
@@ -2,6 +2,7 @@
from datetime import datetime from datetime import datetime
from api import db from api import db
class Text(db.Model): class Text(db.Model):
__tablename__ = 'i18n-texts' __tablename__ = 'i18n-texts'
+1
View File
@@ -18,6 +18,7 @@ def list():
} }
return jsonify(j) return jsonify(j)
@mod.route("/<int:id>", methods=["GET"]) @mod.route("/<int:id>", methods=["GET"])
def show(id): def show(id):
category = Category.query.get_or_404(id) category = Category.query.get_or_404(id)