"...resnet50_tensorflow.git" did not exist on "1a21d1d379ad163403a6f01b3f92f02d79ac8680"
Commit 1d7ca440 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: config data issue

parent 174c082c
...@@ -170,7 +170,7 @@ async def get_app_config(): ...@@ -170,7 +170,7 @@ async def get_app_config():
"version": VERSION, "version": VERSION,
"default_locale": ( "default_locale": (
CONFIG_DATA["ui"]["default_locale"] CONFIG_DATA["ui"]["default_locale"]
if "default_locale" in CONFIG_DATA["ui"] if "ui" in CONFIG_DATA and "default_locale" in CONFIG_DATA["ui"]
else "en-US" else "en-US"
), ),
"images": images_app.state.ENABLED, "images": images_app.state.ENABLED,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment