beta #4

Merged
doug713705 merged 203 commits from beta into master 2023-04-21 00:11:59 +11:00
Showing only changes of commit 27a6205595 - Show all commits

View File

@ -3,7 +3,7 @@ import logging
from logging import config
import yaml
from flask import Flask, render_template, redirect, request, url_for
from thsf.backend import Backend
# from thsf.backend import Backend
# ------------------------------------------------------------------------------
@ -31,9 +31,9 @@ try:
app.config["SECRET_KEY"] = app.local_config["app"]["secret_key"]
app.config["LANGUAGES"] = app.local_config["app"]["languages"]
config.dictConfig(app.local_config["log"])
backend = Backend(url=app.local_config["pretalx"]["url"],
apiprefix=app.local_config["pretalx"]["apiprefix"],
apikey=app.local_config["pretalx"]["apikey"])
# backend = Backend(url=app.local_config["pretalx"]["url"],
# apiprefix=app.local_config["pretalx"]["apiprefix"],
# apikey=app.local_config["pretalx"]["apikey"])
except Exception as err:
logger.critical("[{}] {}".format(err.__class__, str(err)))
sys.exit(1)