diff --git a/src/common/helpers.py b/src/common/helpers.py index 20613a994..00b4206e8 100644 --- a/src/common/helpers.py +++ b/src/common/helpers.py @@ -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