aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/elasticsearch_tools.py
diff options
context:
space:
mode:
authorBonfaceKilz2021-04-30 13:06:58 +0300
committerBonfaceKilz2021-04-30 13:45:15 +0300
commit4e65b73a0f903834f8dbd02d11c49b75d7c935c7 (patch)
tree18add06933583233d183e5554fda91a4a46e8191 /wqflask/utility/elasticsearch_tools.py
parent114e7d3395f28ddead0ff3a94c10d0bf534fb493 (diff)
downloadgenenetwork2-4e65b73a0f903834f8dbd02d11c49b75d7c935c7.tar.gz
autopep8: Fix E121,E122,E123,EI24,E125,E126,E127,E128,E129,E131,E133
Diffstat (limited to 'wqflask/utility/elasticsearch_tools.py')
-rw-r--r--wqflask/utility/elasticsearch_tools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/utility/elasticsearch_tools.py b/wqflask/utility/elasticsearch_tools.py
index 55907dd5..e56c22eb 100644
--- a/wqflask/utility/elasticsearch_tools.py
+++ b/wqflask/utility/elasticsearch_tools.py
@@ -50,7 +50,7 @@ from utility.tools import ELASTICSEARCH_HOST, ELASTICSEARCH_PORT
def test_elasticsearch_connection():
es = Elasticsearch(['http://' + ELASTICSEARCH_HOST + \
- ":" + str(ELASTICSEARCH_PORT) + '/'], verify_certs=True)
+ ":" + str(ELASTICSEARCH_PORT) + '/'], verify_certs=True)
if not es.ping():
logger.warning("Elasticsearch is DOWN")