diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-06-19 01:51:07 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-06-19 01:51:07 +0300 |
commit | 422c38fa4ecc7d744e414096f89c01cbf2b130b2 (patch) | |
tree | e9d665a36de0a854dd5f893f25df8a039180e3d9 /vk | |
parent | add Pylint configuration & fix the warnings (diff) | |
download | vk-scripts-422c38fa4ecc7d744e414096f89c01cbf2b130b2.tar.gz vk-scripts-422c38fa4ecc7d744e414096f89c01cbf2b130b2.zip |
bugfix
Diffstat (limited to '')
-rw-r--r-- | vk/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -52,7 +52,7 @@ class API: if 'response' not in response: raise vk.error.InvalidAPIResponseError(response) return response['response'] - except URLError: + except (ConnectionError, URLError): raise vk.error.APIConnectionError() @staticmethod |