diff --git a/login/app.py b/login/app.py
index 8dd6440bfe75ed94f146924dd2d007d7caaffdc6..b0115a6d610f8e70c5b9a73b7ad173c9f03e50fb 100644
--- a/login/app.py
+++ b/login/app.py
@@ -45,7 +45,7 @@ app.config.from_object(os.environ['APP_SETTINGS'])
 # Set right logging level based on config DEBUG flag
 if (app.config['DEBUG']):
     app.logger.setLevel(logging.INFO)
-else
+else:
     app.logger.setLevel(logging.ERROR)