optimize
This commit is contained in:
parent
cb32099db6
commit
69fc11d949
|
@ -359,7 +359,7 @@ def ensure_unicode_string(s):
|
|||
return s
|
||||
|
||||
def get_xmpp_show(show):
|
||||
if show in ['online', 'offline']:
|
||||
if show in ('online', 'offline'):
|
||||
return None
|
||||
return show
|
||||
|
||||
|
|
Loading…
Reference in New Issue