mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-11 20:38:59 +00:00
refactor the parsing
This commit is contained in:
@@ -52,6 +52,8 @@ class Templategen:
|
||||
self.env.globals['exists_in_path'] = jhelpers.exists_in_path
|
||||
self.env.globals['basename'] = jhelpers.basename
|
||||
self.env.globals['dirname'] = jhelpers.dirname
|
||||
if self.debug:
|
||||
self.log.dbg('template additional variables: {}'.format(variables))
|
||||
|
||||
def generate(self, src):
|
||||
"""render template from path"""
|
||||
|
||||
Reference in New Issue
Block a user