diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-10-01 16:58:21 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-10-01 16:58:21 +0300 |
commit | e3b6e39708231a84a9de05020d674f2b9e5d08f9 (patch) | |
tree | 8aa7394dc37f6b3d22da7898abbefd092b2d464d /vk/api.py | |
parent | online_duration.py -> online_sessions.py (diff) | |
download | vk-scripts-e3b6e39708231a84a9de05020d674f2b9e5d08f9.tar.gz vk-scripts-e3b6e39708231a84a9de05020d674f2b9e5d08f9.zip |
fix licensing notices
Diffstat (limited to 'vk/api.py')
-rw-r--r-- | vk/api.py | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,6 +1,7 @@ -# Copyright 2015 Egor Tensin <Egor.Tensin@gmail.com> -# This file is licensed under the terms of the MIT License. -# See LICENSE.txt for details. +# Copyright (c) 2015 Egor Tensin <Egor.Tensin@gmail.com> +# This file is part of the "VK scripts" project. +# For details, see https://github.com/egor-tensin/vk-scripts. +# Distributed under the MIT License. from collections import Iterable from collections.abc import Mapping @@ -99,6 +100,7 @@ class API: response = json.loads(response.read().decode()) if 'response' not in response: raise vk.error.InvalidAPIResponseError(response) + #print(response) return response['response'] except (ConnectionError, URLError): raise vk.error.APIConnectionError() |