diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-23 07:20:36 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-23 07:20:36 +0300 |
commit | 7b8cc8a9f455eda41b9c7d70f4561a84fcda941e (patch) | |
tree | b9e262e9a1dbb663c3b9f704a9fe4daf54be0ce9 /vk/tracking/status_tracker.py | |
parent | Travis: online_sessions.sh: refactoring (diff) | |
download | vk-scripts-7b8cc8a9f455eda41b9c7d70f4561a84fcda941e.tar.gz vk-scripts-7b8cc8a9f455eda41b9c7d70f4561a84fcda941e.zip |
pylint/pep8 fixes
Diffstat (limited to '')
-rw-r--r-- | vk/tracking/status_tracker.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vk/tracking/status_tracker.py b/vk/tracking/status_tracker.py index 30e0f97..b87e059 100644 --- a/vk/tracking/status_tracker.py +++ b/vk/tracking/status_tracker.py @@ -11,6 +11,7 @@ import signal import vk.error from vk.user import UserField + class StatusTracker: DEFAULT_TIMEOUT = 5 @@ -49,7 +50,8 @@ class StatusTracker: _USER_FIELDS = UserField.DOMAIN, UserField.ONLINE, UserField.LAST_SEEN, def _query_status(self, uids): - user_list = self._api.users_get(uids, self._USER_FIELDS, deactivated_users=False) + user_list = self._api.users_get(uids, self._USER_FIELDS, + deactivated_users=False) return {user.get_uid(): user for user in user_list} def _notify_status(self, user): |