]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/output/template/Template.java
Template reloading was broken.
[gigi.git] / src / org / cacert / gigi / output / template / Template.java
index 5a82cf7d81151799aa1c29e87a0997a756d62f25..08f261afce3dc64c9c07d2e42d90544a2fa56b3c 100644 (file)
@@ -138,7 +138,7 @@ public class Template implements Outputable {
                                try {
                                        System.out.println("Reloading template.... " + source);
                                        InputStreamReader r = new InputStreamReader(new FileInputStream(source), "UTF-8");
-                                       parse(r);
+                                       data = parse(r);
                                        r.close();
                                        lastLoaded = source.lastModified() + 1000;
                                } catch (IOException e) {