summaryrefslogtreecommitdiff
blob: bda0843e6c9f9f96c3ffad714bae6da6fe7cc4a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- __init__.py.old	2010-10-06 16:03:54.000000000 +0200
+++ __init__.py	2010-10-06 16:05:38.000000000 +0200
@@ -20,10 +20,3 @@
 # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
 #
 
-import os, sys
-
-ntlmaps_dir = os.path.dirname(os.path.abspath(__file__))
-ntlmaps_libdir = ntlmaps_dir + '/lib'
-sys.path.append(ntlmaps_libdir)
-
-del os, sys
--- main.py.old	2010-10-06 16:26:57.000000000 +0200
+++ main.py	2010-10-06 16:27:29.000000000 +0200
@@ -18,8 +18,6 @@
 # Free Software Foundation, Inc.,
 # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
 #
-import __init__
-
 import sys
 
 import server, config, config_affairs
@@ -28,7 +26,7 @@
 #--------------------------------------------------------------
 # config affairs
 # look for default config name in lib/config.py
-conf = config.read_config(config.findConfigFileNameInArgv(sys.argv, __init__.ntlmaps_dir+'/'))
+conf = config.read_config('/etc/ntlmaps/server.cfg')
 
 conf['GENERAL']['VERSION'] = '0.9.9.6'