Coverage for app/controllers/__init__.py: 100%
2 statements
« prev ^ index » next coverage.py v7.2.7, created at 2024-07-11 17:51 +0000
« prev ^ index » next coverage.py v7.2.7, created at 2024-07-11 17:51 +0000
1from app import app
2import os
3#from app.login_manager import require_login
6#@app.context_processor
7#def injectGlobalData():
8 #currentUser = require_login()
9 #lastStaticUpdate = str(max(os.path.getmtime(os.path.join(root_path, f))
10 # for root_path, dirs, files in os.walk('app/static')
11 # for f in files))
12 #return {'currentUser': currentUser,
13 # 'lastStaticUpdate': lastStaticUpdate}