From 222d7e677d0f37b534aec3dcb331174968f5381d Mon Sep 17 00:00:00 2001 From: Oleg Silkin Date: Tue, 21 May 2019 05:00:35 -0400 Subject: [PATCH] Removes redundant code --- lbry_comment_server/routes.py | 7 ------- lbry_comment_server/settings.py | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 lbry_comment_server/routes.py diff --git a/lbry_comment_server/routes.py b/lbry_comment_server/routes.py deleted file mode 100644 index 744e9d3..0000000 --- a/lbry_comment_server/routes.py +++ /dev/null @@ -1,7 +0,0 @@ -from aiohttp import web - -from lbry_comment_server import api_endpoint - - -def add_routes(app: web.Application): - app.add_routes([web.post('/api', api_endpoint)]) diff --git a/lbry_comment_server/settings.py b/lbry_comment_server/settings.py index 9da8a2a..446f18c 100644 --- a/lbry_comment_server/settings.py +++ b/lbry_comment_server/settings.py @@ -14,4 +14,4 @@ def get_config(filepath): config = get_config(config_path) -print(json.dumps(config, indent=4)) +# print(json.dumps(config, indent=4))