diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-07-17 20:20:10 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-07-17 20:20:10 +0300 |
commit | a320153d3ee820434fc390029328b853e3434fc6 (patch) | |
tree | ed9a3ca1866a2ea9203857a4f43e1d3ac60d3776 /api.py | |
parent | README update (diff) | |
download | vk-scripts-a320153d3ee820434fc390029328b853e3434fc6.tar.gz vk-scripts-a320153d3ee820434fc390029328b853e3434fc6.zip |
bugfix
Diffstat (limited to '')
-rw-r--r-- | api.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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): |