From 96f1356aeafbdc026846cdbe1bcfcbbbd0ab3a7c Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 3 Mar 2018 15:40:10 +0300 Subject: fix Pylint warnings --- vk/tracking/db/backend/log.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vk/tracking/db/backend') diff --git a/vk/tracking/db/backend/log.py b/vk/tracking/db/backend/log.py index 1ea009b..814cabc 100644 --- a/vk/tracking/db/backend/log.py +++ b/vk/tracking/db/backend/log.py @@ -70,8 +70,7 @@ class Writer(meta.Writer): def _format_user(user): if user.has_last_name(): return '{} {}'.format(user.get_first_name(), user.get_last_name()) - else: - return '{}'.format(user.get_first_name()) + return '{}'.format(user.get_first_name()) @staticmethod def _format_user_is_online(user): -- cgit v1.2.3