diff options
Diffstat (limited to 'mods')
-rwxr-xr-x | mods/friendica-to-smarty-tpl.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mods/friendica-to-smarty-tpl.py b/mods/friendica-to-smarty-tpl.py index 369b8ea9a..9e4e52671 100755 --- a/mods/friendica-to-smarty-tpl.py +++ b/mods/friendica-to-smarty-tpl.py @@ -94,6 +94,9 @@ def fix_element(element): def convert(filename, tofilename, php_tpl): + header = ldelim + "*\n *\tAUTOMATICALLY GENERATED TEMPLATE\n *\tDO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN\n *\n *" + rdelim + tofilename.write(header) + for line in filename: newline = '' st_pos = 0 |