diff options
Diffstat (limited to 'python/fatcat_web')
-rw-r--r-- | python/fatcat_web/__init__.py | 4 | ||||
-rw-r--r-- | python/fatcat_web/routes.py | 4 | ||||
-rw-r--r-- | python/fatcat_web/search.py | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/python/fatcat_web/__init__.py b/python/fatcat_web/__init__.py index 0033f4a3..8f487181 100644 --- a/python/fatcat_web/__init__.py +++ b/python/fatcat_web/__init__.py @@ -2,7 +2,7 @@ from flask import Flask from flask_uuid import FlaskUUID from flask_debugtoolbar import DebugToolbarExtension -from webface_config import Config +from web_config import Config import fatcat_client toolbar = DebugToolbarExtension() @@ -15,4 +15,4 @@ conf = fatcat_client.Configuration() conf.host = "http://localhost:9411/v0" api = fatcat_client.DefaultApi(fatcat_client.ApiClient(conf)) -from fatcat import routes +from fatcat_web import routes diff --git a/python/fatcat_web/routes.py b/python/fatcat_web/routes.py index ddb56abd..62096a93 100644 --- a/python/fatcat_web/routes.py +++ b/python/fatcat_web/routes.py @@ -3,9 +3,9 @@ import os import json from flask import Flask, render_template, send_from_directory, request, \ url_for, abort, g, redirect, jsonify, session -from fatcat import app, api +from fatcat_web import app, api from fatcat_client.rest import ApiException -from fatcat.search import do_search +from fatcat_web.search import do_search ### Views ################################################################### diff --git a/python/fatcat_web/search.py b/python/fatcat_web/search.py index b6826110..7fcdabea 100644 --- a/python/fatcat_web/search.py +++ b/python/fatcat_web/search.py @@ -1,7 +1,7 @@ import requests from flask import abort -from fatcat import app +from fatcat_web import app def do_search(q, limit=50, fulltext_only=True): |