summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/routes.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-07-01 18:35:17 -0700
committerBryan Newbold <bnewbold@robocracy.org>2020-07-01 18:35:17 -0700
commita6e515dfe8f07410e7c71fa826995e5172b19731 (patch)
tree9d11fb7455089634fca68efbbcb599a2e6ee1d27 /python/fatcat_web/routes.py
parente9568d9d973df345966c71149757868cdf297179 (diff)
downloadfatcat-a6e515dfe8f07410e7c71fa826995e5172b19731.tar.gz
fatcat-a6e515dfe8f07410e7c71fa826995e5172b19731.zip
lint (flake8) web interface python files
Diffstat (limited to 'python/fatcat_web/routes.py')
-rw-r--r--python/fatcat_web/routes.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/python/fatcat_web/routes.py b/python/fatcat_web/routes.py
index 58f4b7e0..4684f799 100644
--- a/python/fatcat_web/routes.py
+++ b/python/fatcat_web/routes.py
@@ -2,12 +2,12 @@
import os
import sys
import json
-from flask import Flask, render_template, make_response, send_from_directory, \
- request, url_for, abort, g, redirect, jsonify, session, flash, Response
+from flask import render_template, make_response, send_from_directory, \
+ request, url_for, abort, redirect, jsonify, session, flash, Response
from flask_login import login_required
from flask_wtf.csrf import CSRFError
-from fatcat_openapi_client import Editgroup, EditgroupAnnotation
+from fatcat_openapi_client import EditgroupAnnotation
from fatcat_openapi_client.rest import ApiException
from fatcat_tools.transforms import *
from fatcat_tools.normal import *
@@ -1042,4 +1042,3 @@ def robots():
return send_from_directory(os.path.join(app.root_path, 'static'),
'robots.txt',
mimetype='text/plain')
-