mirror of
https://github.com/KrystianD/mikrotik_configurator.git
synced 2025-07-31 00:04:47 +02:00
made Jinja to use same comment prefix as RouterOS script
This commit is contained in:
parent
b3b043f796
commit
b422ff8e11
1 changed files with 3 additions and 0 deletions
|
@ -78,6 +78,9 @@ def render_file(path: str, include_dirs: List[str], variables: Dict[str, str]):
|
|||
*include_dirs,
|
||||
]),
|
||||
)
|
||||
|
||||
env.line_comment_prefix = '#'
|
||||
|
||||
env.globals['register_cleanup'] = register_cleanup
|
||||
env.globals['escape_string'] = escape_string
|
||||
env.globals['rollback_delete_chain'] = rollback_delete_chain
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue