summaryrefslogtreecommitdiff
path: root/src/apps/qcam/assets/feathericons/link-2.svg
blob: 8cc7f6dda7166044a73609a031fe706985729fc1 (plain)
1
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-link-2"><path d="M15 7h3a5 5 0 0 1 5 5 5 5 0 0 1-5 5h-3m-6 0H6a5 5 0 0 1-5-5 5 5 0 0 1 5-5h3"></path><line x1="8" y1="12" x2="16" y2="12"></line></svg>
l kwa">return 1 output = argv[1] template = argv[2] year = datetime.datetime.now().year path = output.replace('include/', '', 1) source = '' for fname in argv[3:]: source += open(fname, 'r', encoding='utf-8').read() + '\n\n' template = jinja2.Template(open(template, 'r', encoding='utf-8').read()) string = template.render(year=year, path=path, source=source) f = open(output, 'w', encoding='utf-8').write(string) return 0 if __name__ == '__main__': sys.exit(main(sys.argv))