Use $QUAYPATH and $QUAYDIR in conf and init files
This commit is contained in:
parent
334a08d90b
commit
cdb3722c17
59 changed files with 341 additions and 225 deletions
|
@ -1,3 +1,4 @@
|
|||
import os
|
||||
import json
|
||||
import logging
|
||||
|
||||
|
@ -5,12 +6,14 @@ from flask_mail import Message
|
|||
|
||||
import features
|
||||
|
||||
from _init import ROOT_DIR
|
||||
from app import mail, app, get_app_url
|
||||
from util.jinjautil import get_template_env
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
template_env = get_template_env("emails")
|
||||
|
||||
template_env = get_template_env(os.path.join(ROOT_DIR, "emails"))
|
||||
|
||||
|
||||
class CannotSendEmailException(Exception):
|
||||
|
|
Reference in a new issue