2731531768
also cleant up a bit the import towards PEP8: builtin modules first, then 3rd party python packages, then local packages
10 lines
182 B
Python
10 lines
182 B
Python
from __future__ import absolute_import
|
|
|
|
from flask import g, current_app
|
|
|
|
from .models import Wiki
|
|
|
|
|
|
def before_request():
|
|
g.current_wiki = Wiki(current_app.config['WIKI_PATH'])
|