aboutsummaryrefslogtreecommitdiffstats
path: root/pysite
diff options
context:
space:
mode:
authorGravatar Joseph <[email protected]>2018-07-02 22:06:50 +0100
committerGravatar Joseph <[email protected]>2018-07-02 22:06:50 +0100
commit9b636ff8bb20deb9a97ee3e95e8a6925001effc8 (patch)
tree1cd27638d5c1ab12e2cf866e8dc1e7e51ccc778d /pysite
parentMerge branch 'off-topic-channel-names-api' into 'master' (diff)
Fix typo in table editor post
Diffstat (limited to 'pysite')
-rw-r--r--pysite/views/staff/tables/edit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pysite/views/staff/tables/edit.py b/pysite/views/staff/tables/edit.py
index b70bc20e..7de63ad2 100644
--- a/pysite/views/staff/tables/edit.py
+++ b/pysite/views/staff/tables/edit.py
@@ -51,7 +51,7 @@ class TableEditView(RouteView, DBMixin):
@require_roles(*TABLE_MANAGER_ROLES)
@csrf
def post(self, table):
- obj = TABLES.get(TABLES)
+ obj = TABLES.get(table)
if not obj:
# Unknown table