Skip to content
Snippets Groups Projects
Commit c51da264 authored by matograine's avatar matograine
Browse files

make example_vignette.png optional also for defautl page

parent 47130d82
No related branches found
No related tags found
No related merge requests found
......@@ -133,6 +133,7 @@ if __name__ == "__main__":
content = content.replace("questions.html", lang + "/questions.html")
content = content.replace("strings.js", lang + "/strings.js")
content = content.replace("./logo_g.png", lang + "/logo_g.png")
if os.path.isfile(source_lang_dir + "/example_vignette.png"):
shutil.copy(source_lang_dir + "/example_vignette.png", build_lang_dir )
# overwrite file
with open(target, "w") as f:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment