Fix to use absolute path instead of relative path on parser.py

This commit is contained in:
Larry Kim 2013-05-21 20:53:23 +09:00
parent a18faefe93
commit 27dda98975

View File

@ -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))