diff --git a/generate.py b/generate.py index c52e00a..4631e05 100644 --- a/generate.py +++ b/generate.py @@ -84,7 +84,15 @@ def copyfiles(files, ffrom, where): outfile = open(where + outf, 'wb') outfile.write(infile.read()) outfile.close() - +# else: +# if "istemplate" in entry and entry["istemplate"]: +# inf = entry["src"] +# with open(where + inf, 'r') as infile: +# print(where + inf + ' (ST)-> ' + where + inf) +# form = Template(infile.read()).substitute(templatevars) +# outfile = open(where + inf, 'w') +# outfile.write(form) +# outfile.close() # Spojovani soubru def joinfilesindir(dir, outfile):