diff options
| author | asciimoo <asciimoo@gmail.com> | 2014-01-21 21:28:54 +0100 |
|---|---|---|
| committer | asciimoo <asciimoo@gmail.com> | 2014-01-21 21:28:54 +0100 |
| commit | 7295df30e14245abf90416363d9f47cc56c1c93d (patch) | |
| tree | c61857855c450f3ed4932e0b4e55c4fe7a111b8c | |
| parent | 468b4e453c34e121b53177fc10f8a540550b6329 (diff) | |
[mod] import restructure
| -rw-r--r-- | searx/webapp.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/searx/webapp.py b/searx/webapp.py index 9cefb3712..7bb9f0c8d 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -17,20 +17,19 @@ along with searx. If not, see < http://www.gnu.org/licenses/ >. (C) 2013- by Adam Tauber, <asciimoo@gmail.com> ''' +import json +import cStringIO +import os + from searx import settings from flask import Flask, request, render_template from flask import url_for, Response, make_response, redirect from searx.engines import search, categories, engines, get_engines_stats -import json -import cStringIO from searx.utils import UnicodeWriter from flask import send_from_directory from searx.utils import highlight_content, html_to_text -import os - - app = Flask( __name__, static_folder=os.path.join(os.path.dirname(__file__), 'static'), |