bug with status fixed

This commit is contained in:
ingvar1995 2016-06-25 15:40:01 +03:00
parent 5cfa484a67
commit 82184b3df1

View File

@ -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):