diff --git a/zephyr/views.py b/zephyr/views.py index 3ff882fc31..74dc58faac 100644 --- a/zephyr/views.py +++ b/zephyr/views.py @@ -789,7 +789,7 @@ def add_subscriptions_backend(request, user_profile): subscribed = [] already_subscribed = [] - for stream_name in list(set(streams)): + for stream_name in set(streams): stream = create_stream_if_needed(user_profile.realm, stream_name) did_subscribe = do_add_subscription(user_profile, stream) if did_subscribe: