summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/webapp.py')
-rwxr-xr-xsearx/webapp.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 7df12af18..ae98d1964 100755
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -22,10 +22,6 @@ if sys.version_info[0] < 3:
print('\033[1;31m Python2 is no longer supported\033[0m')
exit(1)
-if __name__ == '__main__':
- from os.path import realpath, dirname
- sys.path.append(realpath(dirname(realpath(__file__)) + '/../'))
-
# set Unix thread name
try:
import setproctitle