diff options
-rw-r--r-- | bin/mutual_friends.py | 2 | ||||
-rw-r--r-- | bin/online_sessions.py | 3 | ||||
-rw-r--r-- | bin/track_status.py | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/bin/mutual_friends.py b/bin/mutual_friends.py index c17c6b3..82015bb 100644 --- a/bin/mutual_friends.py +++ b/bin/mutual_friends.py @@ -9,7 +9,7 @@ from collections import OrderedDict from enum import Enum import sys -from vk.api import API, Language +from vk.api import API from vk.user import UserField from .utils import io diff --git a/bin/online_sessions.py b/bin/online_sessions.py index c291fc5..670a8c3 100644 --- a/bin/online_sessions.py +++ b/bin/online_sessions.py @@ -258,8 +258,7 @@ class OutputFormat(Enum): def open_file(self, path=None): if self is OutputFormat.PLOT: return io.open_output_binary_file(path) - else: - return io.open_output_text_file(path) + return io.open_output_text_file(path) def _parse_group_by(s): try: diff --git a/bin/track_status.py b/bin/track_status.py index c61f242..9c32ae9 100644 --- a/bin/track_status.py +++ b/bin/track_status.py @@ -5,7 +5,7 @@ import argparse, sys -from vk.api import API, Language +from vk.api import API from vk.tracking import StatusTracker from vk.tracking.db import Format as DatabaseFormat |