From bef7bbbcdc0e3a43dee2b780a55e23fb9475d9af Mon Sep 17 00:00:00 2001 From: Guy Godfroy Date: Fri, 4 Dec 2020 09:34:05 +0100 Subject: [PATCH] bordel2 --- geminer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geminer.py b/geminer.py index 8be583a..21962b7 100755 --- a/geminer.py +++ b/geminer.py @@ -94,7 +94,7 @@ for dirname, subdirlist, mdlist in os.walk('.'): ) # Read template file - with open(tpl_path+"/"+template+".tpl", 'r') as tpl: + with open(tpl_path+"/"+post["template"]+".tpl", 'r') as tpl: template = Template(tpl.read()) # Integrate the GMI content in the template