Skip to content

Commit 8fa91a0

Browse files
committed
Fix linting errors
1 parent e451777 commit 8fa91a0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

api/wsgi.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@
1212

1313

1414
if os.environ["FLASK_ENV"] == "development":
15-
app_config = config.DevConfig
15+
AppConfig = config.DevConfig
1616
elif os.environ["FLASK_ENV"] == "production":
17-
app_config = config.ProdConfig
17+
AppConfig = config.ProdConfig
1818

19-
app = create_app(app_config)
19+
app = create_app(AppConfig)
2020

2121
logging.basicConfig(
22-
filename=app_config.LOGFILE,
22+
filename=AppConfig.LOGFILE,
2323
filemode="a",
2424
format="%(asctime)s %(name)s %(levelname)-2s %(message)s",
2525
level=logging.INFO,
2626
datefmt="%Y-%m-%d %H:%M:%S"
2727
)
2828

2929
if __name__ == "__main__":
30-
app.run()
30+
app.run()

0 commit comments

Comments
 (0)