bugfixes
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -160,4 +160,5 @@ cython_debug/
|
||||
#.idea/
|
||||
# Database and venv
|
||||
users.db
|
||||
venv_planner
|
||||
venv_planner
|
||||
.deployment
|
||||
|
||||
3
app.py
3
app.py
@@ -21,9 +21,6 @@ app.teardown_appcontext(db.close_db)
|
||||
app.cli.add_command(db.init_db_command)
|
||||
app.register_blueprint(auth.bp)
|
||||
|
||||
# first time start up msal token acquire for test purposes (raises if not successful)
|
||||
if not (app.config["DEBUG"] or app.config["TESTING"]):
|
||||
calendar_interface.get_access_token()
|
||||
|
||||
@app.route('/')
|
||||
@auth.login_required
|
||||
|
||||
Reference in New Issue
Block a user