aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/api.py
diff options
context:
space:
mode:
Diffstat (limited to 'api.py')
-rw-r--r--api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/api.py b/api.py
index d584c2b..5d11e4f 100644
--- a/api.py
+++ b/api.py
@@ -10,7 +10,7 @@ def call_method(method_name, **kwargs):
response = json.loads(urllib.request.urlopen(url).read().decode())
if 'response' not in response:
print(response, file=sys.stderr)
- sys.exit(-1)
+ sys.exit(1)
return response['response']
def users_get(**kwargs):