added config - form csrf tag
This commit is contained in:
@@ -2,8 +2,10 @@ from flask import Flask
|
||||
import os
|
||||
import logging
|
||||
from logging.handlers import RotatingFileHandler
|
||||
from config import Config
|
||||
|
||||
app = Flask(__name__)
|
||||
app.config.from_object(Config)
|
||||
|
||||
if not app.debug:
|
||||
if not os.path.exists('logs'):
|
||||
|
||||
Reference in New Issue
Block a user