diff --git a/utils/he_ipv6/ra.py b/utils/he_ipv6/ra.py index 86e2a65..b139d0e 100644 --- a/utils/he_ipv6/ra.py +++ b/utils/he_ipv6/ra.py @@ -7,7 +7,6 @@ import jinja2 logger = logging.getLogger() -def_tpl_dir = os.path.join(os.path.dirname(os.path.abspath(os.path.expanduser(__file__))), 'tpl') class RA(object): @@ -20,6 +19,7 @@ class RAConf(object): def_tpl_name = None def_conf = None cfgstr = None + def_tpl_dir = os.path.join(os.path.dirname(os.path.abspath(os.path.expanduser(__file__))), 'tpl') def __init__(self, conf = None, tpl_name = None, tpl_dir = None, *args, **kwargs): for k in ('name', 'dir'):