diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-02-28 17:07:51 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-02-28 17:08:30 -0800 |
commit | de6108bce532510057898040689349b8f4cd3846 (patch) | |
tree | 03d57c2d1abafd1e42722397b724de3d2df1b482 /python/fatcat_web/routes.py | |
parent | d126c74f1326449e5941c8bac4dbe724dc067ef8 (diff) | |
download | fatcat-de6108bce532510057898040689349b8f4cd3846.tar.gz fatcat-de6108bce532510057898040689349b8f4cd3846.zip |
band-aid editgroups/changelog views a bit
Commiting fixes from last week.
Diffstat (limited to 'python/fatcat_web/routes.py')
-rw-r--r-- | python/fatcat_web/routes.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/fatcat_web/routes.py b/python/fatcat_web/routes.py index 1eeab279..ab23c847 100644 --- a/python/fatcat_web/routes.py +++ b/python/fatcat_web/routes.py @@ -340,6 +340,7 @@ def work_view(ident): def editgroup_view(ident): try: entity = api.get_editgroup(str(ident)) + entity.editor = api.get_editor(entity.editor_id) except ApiException as ae: abort(ae.status) return render_template('editgroup_view.html', editgroup=entity) @@ -374,6 +375,7 @@ def changelog_view(): def changelog_entry_view(index): try: entry = api.get_changelog_entry(int(index)) + entry.editgroup.editor = api.get_editor(entry.editgroup.editor_id) except ApiException as ae: abort(ae.status) return render_template('changelog_view.html', entry=entry, editgroup=entry.editgroup) |