fix template loading

This commit is contained in:
Jan Petykiewicz 2021-10-31 19:48:45 -07:00
parent b2043ce841
commit f489eb6e06

View File

@ -19,7 +19,7 @@ __author__ = 'Jan Petykiewicz'
# Create jinja2 env on module load
jinja_env = jinja2.Environment(loader=jinja2.PackageLoader(__name__, 'kernels'))
jinja_env = jinja2.Environment(loader=jinja2.PackageLoader(__name__.split('.')[0], 'kernels'))
class Simulation(object):