From 821c29ee73ed1e6aee8881ae7d921bebc6f7a6e3 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 12 Feb 2016 17:48:48 +0300 Subject: refactoring --- track_status.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'track_status.py') diff --git a/track_status.py b/track_status.py index 2c6776e..3268ab3 100644 --- a/track_status.py +++ b/track_status.py @@ -30,6 +30,9 @@ def format_user_went_online(user): def format_user_went_offline(user): return '{} went OFFLINE'.format(format_user(user)) +def user_is_online(user): + logging.info(format_user_is_online(user)) + def user_is_offline(user): logging.info(format_user_is_offline(user)) logging.info(format_user_last_seen(user)) -- cgit v1.2.3