1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-17 18:00:12 +01:00

[mod] import restructure

This commit is contained in:
asciimoo 2014-01-21 21:28:54 +01:00
parent 468b4e453c
commit 7295df30e1

View File

@ -17,20 +17,19 @@ along with searx. If not, see < http://www.gnu.org/licenses/ >.
(C) 2013- by Adam Tauber, <asciimoo@gmail.com> (C) 2013- by Adam Tauber, <asciimoo@gmail.com>
''' '''
import json
import cStringIO
import os
from searx import settings from searx import settings
from flask import Flask, request, render_template from flask import Flask, request, render_template
from flask import url_for, Response, make_response, redirect from flask import url_for, Response, make_response, redirect
from searx.engines import search, categories, engines, get_engines_stats from searx.engines import search, categories, engines, get_engines_stats
import json
import cStringIO
from searx.utils import UnicodeWriter from searx.utils import UnicodeWriter
from flask import send_from_directory from flask import send_from_directory
from searx.utils import highlight_content, html_to_text from searx.utils import highlight_content, html_to_text
import os
app = Flask( app = Flask(
__name__, __name__,
static_folder=os.path.join(os.path.dirname(__file__), 'static'), static_folder=os.path.join(os.path.dirname(__file__), 'static'),