# -*- coding: utf-8 -*-
import datetime
from flask import Flask
import logging
from config import config
import sys, os
import sys, asyncio


webApp = Flask(__name__, instance_relative_config=True, template_folder=config['WEB_APP']['template_folder'])


__version__ = '1.0.1.0'

webApp.config['SECRET_KEY'] = '2qwtsdfsdfsdfsdfq2'
webApp.config['INTERNAL_API_KEY'] = 'lGR9g09RW5cEsdfsfsdfsdf07rKivRNIH9f'
webApp.config['REMOTE_LOGIN_KEY'] = 'sdfsdfsdfsdf'
webApp.config['SESSION_COOKIE_SAMESITE'] = "None"
webApp.config['SESSION_COOKIE_SECURE'] = True

webApp.jinja_env.add_extension('pypugjs.ext.jinja.PyPugJSExtension')

# logging.basicConfig(level = logging.INFO)

from webApp.helper import jinjaHelper
from webApp.interfaces import *
