Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
Fix get_platform_status return type
Browse files Browse the repository at this point in the history
  • Loading branch information
shanefontaine committed Dec 29, 2018
1 parent daa87fa commit 882edac
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ethfinex/public_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit 882edac

Please sign in to comment.