diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2018-03-03 16:25:34 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2018-03-03 16:25:34 +0300 |
commit | e6067887dd33fd47d03c2f979661bce15f1417f2 (patch) | |
tree | 1f750309962fad6b24ce8126d650cddbef41ba59 | |
parent | "VK Mobile" instead of "the VK Mobile" (diff) | |
download | vk-scripts-e6067887dd33fd47d03c2f979661bce15f1417f2.tar.gz vk-scripts-e6067887dd33fd47d03c2f979661bce15f1417f2.zip |
fix Pylint warnings
-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 |