diff options
author | Luke Barnard <luke@matrix.org> | 2018-04-06 16:02:06 +0100 |
---|---|---|
committer | Luke Barnard <luke@matrix.org> | 2018-04-06 16:02:06 +0100 |
commit | 020a5013544b1f7046faa97b83eb2acc613334b1 (patch) | |
tree | 5a0c129569b68b0bdfc270ecad5fdfe22e4bf54a /synapse/groups/groups_server.py | |
parent | Explicitly grab individual columns from group object (diff) | |
download | synapse-020a5013544b1f7046faa97b83eb2acc613334b1.tar.xz |
de-lint, quote consistency
Diffstat (limited to '')
-rw-r--r-- | synapse/groups/groups_server.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/groups/groups_server.py b/synapse/groups/groups_server.py index ad937c1721..2d95b04e0c 100644 --- a/synapse/groups/groups_server.py +++ b/synapse/groups/groups_server.py @@ -411,8 +411,8 @@ class GroupsServerHandler(object): "name", "short_description", "long_description", "avatar_url", "is_public", ] - group_description = { key: group[key] for key in cols } - group_description["is_openly_joinable"] = group['join_policy'] == "open" + group_description = {key: group[key] for key in cols} + group_description["is_openly_joinable"] = group["join_policy"] == "open" defer.returnValue(group_description) else: |