This commit is contained in:
brent s. 2020-05-18 05:35:05 -04:00
parent 7b48e6813c
commit 0868b18de8
Signed by: bts
GPG Key ID: 8C004C2F93481F6B

View File

@ -7,7 +7,6 @@ import jinja2




logger = logging.getLogger() logger = logging.getLogger()
def_tpl_dir = os.path.join(os.path.dirname(os.path.abspath(os.path.expanduser(__file__))), 'tpl')




class RA(object): class RA(object):
@ -20,6 +19,7 @@ class RAConf(object):
def_tpl_name = None def_tpl_name = None
def_conf = None def_conf = None
cfgstr = 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): def __init__(self, conf = None, tpl_name = None, tpl_dir = None, *args, **kwargs):
for k in ('name', 'dir'): for k in ('name', 'dir'):