@@ -23,18 +23,10 @@ if __name__ == "__main__":
2323 path.append(realpath(dirname(realpath(__file__))+'/../'))
2424
2525from flask import Flask, request, flash, render_template, url_for, Response, make_response
26−import ConfigParser
27−from os import getenv
2826from searx.engines import search, categories
2927from searx import settings
3028import json
3129
32−cfg = ConfigParser.SafeConfigParser()
33−cfg.read('/etc/searx.conf')
34−cfg.read(getenv('HOME')+'/.searxrc')
35−cfg.read(getenv('HOME')+'/.config/searx/searx.conf')
36−cfg.read('searx.conf')
37−
3830
3931app = Flask(__name__)
4032app.secret_key = settings.secret_key