minor changes and bugfixes
This commit is contained in:
parent
6d038dc962
commit
22e45857ff
3
.gitignore
vendored
3
.gitignore
vendored
@ -134,4 +134,5 @@ config.yaml
|
|||||||
scans.json
|
scans.json
|
||||||
test.*
|
test.*
|
||||||
*.db
|
*.db
|
||||||
.vscode
|
.vscode
|
||||||
|
*.tar
|
||||||
@ -22,12 +22,12 @@ if not exists(DIR + "../logs"):
|
|||||||
makedirs(DIR + "../logs")
|
makedirs(DIR + "../logs")
|
||||||
|
|
||||||
fileConfig(DIR + "../configs/log.conf")
|
fileConfig(DIR + "../configs/log.conf")
|
||||||
LOGGER = getLogger("root")
|
LOGGER = getLogger("main")
|
||||||
|
|
||||||
bootstrap = Bootstrap()
|
bootstrap = Bootstrap()
|
||||||
db = SQLAlchemy()
|
db = SQLAlchemy()
|
||||||
login = LoginManager()
|
login = LoginManager()
|
||||||
login.login_view = 'web_login'
|
login.login_view = 'auth.web_login'
|
||||||
migrate = Migrate()
|
migrate = Migrate()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,6 @@ keys=console, file
|
|||||||
keys=stdout
|
keys=stdout
|
||||||
|
|
||||||
[logger_root]
|
[logger_root]
|
||||||
handlers = console, file
|
|
||||||
level = DEBUG
|
level = DEBUG
|
||||||
|
|
||||||
[logger_main]
|
[logger_main]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user