Commit 2aa89213 authored by Tomáš Peterka's avatar Tomáš Peterka

erp5_web_renderjs_ui: Base_getListFileFromAppcache skips comments in appacache

parent e6e026d2
......@@ -8,6 +8,9 @@ text_content = context.web_page_module.searchFolder(
translation_data_file = []
file_list = []
for file in text_content.split('\n'):
if file.startswith("#"):
# skip comments
continue
file = file.split('/')[-1]
if file.endswith('.html'):
file_list.append(file)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment