aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/track_status.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-02-12 17:48:48 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-02-12 17:48:48 +0300
commit821c29ee73ed1e6aee8881ae7d921bebc6f7a6e3 (patch)
tree1db7a0bfcce98d23d9b6ca4a4242595ec066d2c7 /track_status.py
parentrename the scripts (diff)
downloadvk-scripts-821c29ee73ed1e6aee8881ae7d921bebc6f7a6e3.tar.gz
vk-scripts-821c29ee73ed1e6aee8881ae7d921bebc6f7a6e3.zip
refactoring
Diffstat (limited to 'track_status.py')
-rw-r--r--track_status.py3
1 files changed, 3 insertions, 0 deletions
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))