Fix to use absolute path instead of relative path on parser.py
This commit is contained in:
1 parent
a18faefe93
commit
27dda98975
1 file changed
+1
-1
+1
-1
@@ -83,7 +83,7 @@ class Parser(object):
|
||||
|
||||
logging.debug("__init__: Loading configuration file of tld name %s"%(lcTLD))
|
||||
|
||||
execfile("tlds/%s"%(lcTLD), {}, lcConf)
|
||||
execfile(os.path.join(self.tldPath, "%s"%(lcTLD)), {}, lcConf)
|
||||
lcConf = lcConf.get("parse")
|
||||
|
||||
self.parseConf.update(lcConf.get(lcWS))
|
||||
|
||||
Reference in new issue
Block a user