mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 17:45:32 -04:00
corrected build errors
This commit is contained in:
@@ -36,6 +36,7 @@ def convert_markdown_template(mdf):
|
|||||||
|
|
||||||
return jn_render
|
return jn_render
|
||||||
|
|
||||||
|
|
||||||
def convert_to_boolean(value):
|
def convert_to_boolean(value):
|
||||||
if isinstance(value, str):
|
if isinstance(value, str):
|
||||||
if value.lower() in ["t", "true", "on", "yes", "1"]:
|
if value.lower() in ["t", "true", "on", "yes", "1"]:
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ from app.main.views.sub_navigation_dictionaries import features_nav, using_notif
|
|||||||
from app.utils.user import user_is_logged_in
|
from app.utils.user import user_is_logged_in
|
||||||
from app.formatters import convert_markdown_template
|
from app.formatters import convert_markdown_template
|
||||||
|
|
||||||
|
|
||||||
@main.route("/")
|
@main.route("/")
|
||||||
def index():
|
def index():
|
||||||
if current_user and current_user.is_authenticated:
|
if current_user and current_user.is_authenticated:
|
||||||
@@ -325,7 +326,6 @@ def send_files_by_email():
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# --- Redirects --- #
|
# --- Redirects --- #
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user