aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2018-03-03 15:10:20 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2018-03-03 15:10:20 +0300
commit768fe6080c0ef35935dce0b271d84d442ce0e641 (patch)
treec4c9c2a5b2dac7ffc1ea218d6fd74375fc3fdc4e /bin
parentREADME update (diff)
downloadvk-scripts-768fe6080c0ef35935dce0b271d84d442ce0e641.tar.gz
vk-scripts-768fe6080c0ef35935dce0b271d84d442ce0e641.zip
switch to VK API version 5.73
Diffstat (limited to 'bin')
-rw-r--r--bin/mutual_friends.py2
-rw-r--r--bin/track_status.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/mutual_friends.py b/bin/mutual_friends.py
index f67f987..c17c6b3 100644
--- a/bin/mutual_friends.py
+++ b/bin/mutual_friends.py
@@ -90,7 +90,7 @@ def _parse_args(args=None):
return parser.parse_args(args)
def write_mutual_friends(uids, out_path=None, out_fmt=OutputFormat.CSV):
- api = API(Language.EN)
+ api = API()
users = api.users_get(uids)
friend_lists = (frozenset(_query_friend_list(api, user)) for user in users)
diff --git a/bin/track_status.py b/bin/track_status.py
index 4c679c5..c61f242 100644
--- a/bin/track_status.py
+++ b/bin/track_status.py
@@ -57,7 +57,7 @@ def track_status(
log_path=None,
db_path=None, db_fmt=DEFAULT_DB_FORMAT):
- api = API(Language.EN, deactivated_users=False)
+ api = API()
tracker = StatusTracker(api, timeout)
if db_fmt is DatabaseFormat.LOG or db_path is None: