From 69fc11d94958bec9613c1a7088e5c41a27c5515f Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Wed, 26 Oct 2005 17:30:52 +0000 Subject: [PATCH] optimize --- src/common/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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