aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/vk/tracking/db/backend/log.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2018-03-03 15:40:10 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2018-03-03 15:40:10 +0300
commit96f1356aeafbdc026846cdbe1bcfcbbbd0ab3a7c (patch)
tree271e85f93792247725cd19f8064b65c7346acb68 /vk/tracking/db/backend/log.py
parentnew platform, "VK Mobile" (diff)
downloadvk-scripts-96f1356aeafbdc026846cdbe1bcfcbbbd0ab3a7c.tar.gz
vk-scripts-96f1356aeafbdc026846cdbe1bcfcbbbd0ab3a7c.zip
fix Pylint warnings
Diffstat (limited to 'vk/tracking/db/backend/log.py')
-rw-r--r--vk/tracking/db/backend/log.py3
1 files changed, 1 insertions, 2 deletions
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):