diff options
| author | asciimoo <asciimoo@gmail.com> | 2013-10-19 16:25:06 +0200 |
|---|---|---|
| committer | asciimoo <asciimoo@gmail.com> | 2013-10-19 16:25:06 +0200 |
| commit | 8fe660b1dff4af6cff1292bb436b286ab2f91789 (patch) | |
| tree | a535e2385b6e64dbeede807bea7a5c3b325f4e6e /searx/webapp.py | |
| parent | 1b3712c1893ac730fed8c0eca7dd344595593fe7 (diff) | |
[mod] config file replaced
Diffstat (limited to 'searx/webapp.py')
| -rw-r--r-- | searx/webapp.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/searx/webapp.py b/searx/webapp.py index 4e81ed093..51d910da2 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -23,18 +23,10 @@ if __name__ == "__main__": path.append(realpath(dirname(realpath(__file__))+'/../')) from flask import Flask, request, flash, render_template, url_for, Response, make_response -import ConfigParser -from os import getenv from searx.engines import search, categories from searx import settings import json -cfg = ConfigParser.SafeConfigParser() -cfg.read('/etc/searx.conf') -cfg.read(getenv('HOME')+'/.searxrc') -cfg.read(getenv('HOME')+'/.config/searx/searx.conf') -cfg.read('searx.conf') - app = Flask(__name__) app.secret_key = settings.secret_key |