rest_client.py

flake8 issues
This commit is contained in:
av1nxsh 2021-03-02 14:49:33 +05:30 committed by crypto_rahino
parent 02810fb58e
commit b5a93dfa07

View File

@ -184,11 +184,10 @@ class FtRestClient():
def ping(self):
"""simple ping"""
if self.show_config()['state']=="running":
return {"status": "pong"}
else:
return{"status": "not_running"}
return {"status": "not_running"}
def logs(self, limit=None):
"""Show latest logs.