瀏覽代碼

[mod] import restructure

asciimoo 11 年之前
父節點
當前提交
7295df30e1
共有 1 個文件被更改,包括 4 次插入5 次删除
  1. 4
    5
      searx/webapp.py

+ 4
- 5
searx/webapp.py 查看文件

@@ -17,20 +17,19 @@ along with searx. If not, see < http://www.gnu.org/licenses/ >.
17 17
 (C) 2013- by Adam Tauber, <asciimoo@gmail.com>
18 18
 '''
19 19
 
20
+import json
21
+import cStringIO
22
+import os
23
+
20 24
 from searx import settings
21 25
 from flask import Flask, request, render_template
22 26
 from flask import url_for, Response, make_response, redirect
23 27
 from searx.engines import search, categories, engines, get_engines_stats
24
-import json
25
-import cStringIO
26 28
 from searx.utils import UnicodeWriter
27 29
 from flask import send_from_directory
28 30
 from searx.utils import highlight_content, html_to_text
29 31
 
30 32
 
31
-import os
32
-
33
-
34 33
 app = Flask(
35 34
     __name__,
36 35
     static_folder=os.path.join(os.path.dirname(__file__), 'static'),