|
@@ -7,7 +7,11 @@ from os import environ, urandom
|
|
|
|
|
|
from flask import Flask, jsonify, render_template, request
|
|
|
|
|
|
+<<<<<<< HEAD
|
|
|
from scriptshifter.exceptions import ApiError
|
|
|
+=======
|
|
|
+
|
|
|
+>>>>>>> 7e9bbf5e0854f7fd8325abc809b17b50ff927038
|
|
|
from scriptshifter.tables import list_tables, load_table
|
|
|
from scriptshifter.trans import transliterate
|
|
|
|
|
@@ -32,6 +36,7 @@ def create_app():
|
|
|
app = create_app()
|
|
|
|
|
|
|
|
|
+<<<<<<< HEAD
|
|
|
@app.errorhandler(ApiError)
|
|
|
def handle_exception(e: ApiError):
|
|
|
rsp = e.get_response()
|
|
@@ -41,6 +46,14 @@ def handle_exception(e: ApiError):
|
|
|
})
|
|
|
|
|
|
return rsp
|
|
|
+=======
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+>>>>>>> 7e9bbf5e0854f7fd8325abc809b17b50ff927038
|
|
|
|
|
|
|
|
|
@app.route("/", methods=["GET"])
|