bug with status fixed
This commit is contained in:
parent
5cfa484a67
commit
82184b3df1
1 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue