From 882edacd00d6ad102a2c0dc8f5d29def3eba8cfd Mon Sep 17 00:00:00 2001 From: Shane Fontaine Date: Fri, 28 Dec 2018 18:57:48 -0800 Subject: [PATCH] Fix get_platform_status return type --- ethfinex/public_client.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ethfinex/public_client.py b/ethfinex/public_client.py index 6b96ccb..1cedaf0 100644 --- a/ethfinex/public_client.py +++ b/ethfinex/public_client.py @@ -17,9 +17,11 @@ def __init__(self, api_url='https://api.ethfinex.com/v2'): def get_platform_status(self): """Get the current status of the platform. + A 0 operative means the platform is in maintenance mode. + A 1 operative means that the platform is operative. + Returns: - 1 = operative - 0 = maintenance + [OPERATIVE] """ return self._send_message('/platform/status')