From 82184b3df16eb1669d265dbe52e702155cc6628b Mon Sep 17 00:00:00 2001 From: ingvar1995 Date: Sat, 25 Jun 2016 15:40:01 +0300 Subject: [PATCH] bug with status fixed --- src/profile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/profile.py b/src/profile.py index 0e79c63..cdea8d0 100644 --- a/src/profile.py +++ b/src/profile.py @@ -74,8 +74,8 @@ class Profile(contact.Contact, Singleton): self.set_status((self._status + 1) % 3) def set_status(self, status): - if self._status is not None: - super(Profile, self).set_status(status) + super(Profile, self).set_status(status) + if status is not None: self._tox.self_set_status(status) def set_name(self, value):