Fix to use absolute path instead of relative path on parser.py
This commit is contained in:
parent
a18faefe93
commit
27dda98975
@ -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))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user