diff options
Diffstat (limited to 'python/fatcat_web/routes.py')
-rw-r--r-- | python/fatcat_web/routes.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_web/routes.py b/python/fatcat_web/routes.py index 7ddd8cca..c94a7298 100644 --- a/python/fatcat_web/routes.py +++ b/python/fatcat_web/routes.py @@ -46,7 +46,7 @@ def container_lookup(): if extid is None: return render_template('container_lookup.html') try: - resp = api.lookup_container(**{extid: request.args.get(extid)}) + resp = api.lookup_container(**{extid: extid_value}) except ValueError: return make_response( render_template('container_lookup.html', @@ -178,7 +178,7 @@ def file_lookup(): if extid is None: return render_template('file_lookup.html') try: - resp = api.lookup_file(**{extid: request.args.get(extid)}) + resp = api.lookup_file(**{extid: extid_value}) except ValueError: return make_response( render_template('file_lookup.html', |