aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/track_status.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-07-19 21:21:57 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-07-19 21:21:57 +0300
commit5be66f6e80775d834e6497a91dd296fab12e8725 (patch)
treee4d3399a3b5916424782fabba65befcc521be15c /bin/track_status.py
parenttrack_status.py: interface update (diff)
downloadvk-scripts-5be66f6e80775d834e6497a91dd296fab12e8725.tar.gz
vk-scripts-5be66f6e80775d834e6497a91dd296fab12e8725.zip
refactoring
Diffstat (limited to '')
-rw-r--r--bin/track_status.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/track_status.py b/bin/track_status.py
index 19fae07..a5befef 100644
--- a/bin/track_status.py
+++ b/bin/track_status.py
@@ -52,9 +52,10 @@ def _parse_args(args=sys.argv):
return parser.parse_args(args[1:])
-def track_status(uids, timeout=DEFAULT_TIMEOUT,
- log_fd=sys.stdout,
- db_fd=None, db_fmt=DEFAULT_DB_FORMAT):
+def track_status(
+ uids, timeout=DEFAULT_TIMEOUT,
+ log_fd=sys.stdout,
+ db_fd=None, db_fmt=DEFAULT_DB_FORMAT):
api = API(Language.EN, deactivated_users=False)
tracker = StatusTracker(api, timeout)