mirror of
https://github.com/searxng/searxng.git
synced 2024-12-27 03:30:30 +00:00
[fix] PYTHONPATH settings
This commit is contained in:
parent
178d671931
commit
fd651083f2
1 changed files with 5 additions and 0 deletions
|
@ -17,6 +17,11 @@ along with searx. If not, see < http://www.gnu.org/licenses/ >.
|
|||
(C) 2013- by Adam Tauber, <asciimoo@gmail.com>
|
||||
'''
|
||||
|
||||
if __name__ == '__main__':
|
||||
from sys import path
|
||||
from os.path import realpath, dirname
|
||||
path.append(realpath(dirname(realpath(__file__))+'/../'))
|
||||
|
||||
import json
|
||||
import cStringIO
|
||||
import os
|
||||
|
|
Loading…
Reference in a new issue