# Path: app.py



import os
import sys
from flask import g
from app import app
# -*- coding: utf-8 -*-
"""
    utilities.after_request_per
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Per-Request After-Request Callbacks
    http://flask.pocoo.org/snippets/53/
"""

sys.path.insert(0, os.path.dirname(os.path.abspath(os.path.dirname(__file__))))




def after_this_request(func):
    if not hasattr(g, 'call_after_request'):
        g.call_after_request = []
    g.call_after_request.append(func)
    return func



# Path: app.py



# Path: utilities/after_request_per.py
import os
import sys
from flask import g
from app import app

# -*- coding: utf-8 -*-
"""
    utilities.after_request_per
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Per-Request After-Request Callbacks
    http://flask.pocoo.org/snippets/53/
"""

sys.path.insert(0, os.path.dirname(os.path.abspath(os.path.dirname(__file__))))




def after_this_request(func):
    if not hasattr(g, 'call_after_request'):
        g.call_after_request = []
    g.call_after_request.append(func)
    return func



@app.after_request