Skip to content

Commit

Permalink
Move logger module
Browse files Browse the repository at this point in the history
  • Loading branch information
le717 committed Nov 20, 2022
1 parent 58cfad9 commit 8921d60
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"env": {
"FLASK_APP": "wsgi.py",
"FLASK_ENV": "development",
"FLASK_DEBUG": "1",
"SYS_VARS_PATH": "${workspaceFolder}/secrets",
"DB_PATH": "${workspaceFolder}/database/database.db",
"TIMES_FAILED_THRESHOLD": "2",
Expand Down
2 changes: 1 addition & 1 deletion src/app_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from flask_smorest import Api
import sys_vars

from src import logger
from src.core import logger
from src.blueprints import all_blueprints
from src.core.database.schema import db

Expand Down
2 changes: 1 addition & 1 deletion src/core/database/linkrot.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import requests
import sys_vars

from src.logger import LINKROT
from src.core.logger import LINKROT
from src.core.database import weblink
from src.core.database.schema import RottedLinks, WebLink, db

Expand Down
2 changes: 1 addition & 1 deletion src/core/database/weblink.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from markupsafe import Markup

from src.logger import LINKROT
from src.core.logger import LINKROT
from src.core.database.schema import WebLink, db


Expand Down
File renamed without changes.

0 comments on commit 8921d60

Please sign in to comment.