From f5f64d989014e7f0ddb1c2527fb2293c224b4b69 Mon Sep 17 00:00:00 2001
From: Piero Toffanin <pt@masseranolabs.com>
Date: Sun, 20 Dec 2020 18:17:06 -0500
Subject: [PATCH] Cleanup

---
 app/app.py | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/app/app.py b/app/app.py
index 2fb7eff..57b208e 100644
--- a/app/app.py
+++ b/app/app.py
@@ -199,7 +199,6 @@ def create_app(char_limit=-1, req_limit=-1, ga_id=None, debug=False):
     swag = swagger(app)
     swag['info']['version'] = "1.0"
     swag['info']['title'] = "LibreTranslate"
-    print(swag)
 
     @app.route("/spec")
     def spec():
@@ -211,12 +210,9 @@ def create_app(char_limit=-1, req_limit=-1, ga_id=None, debug=False):
     # Call factory function to create our blueprint
     swaggerui_blueprint = get_swaggerui_blueprint(
         SWAGGER_URL,
-        API_URL,
-        config={  # Swagger UI config overrides
-            'app_name': "LibreTranslate"
-        }
+        API_URL
     )
 
     app.register_blueprint(swaggerui_blueprint)
 
-    return app
\ No newline at end of file
+    return app