diff --git a/archery/src/main/java/com/github/romualdrousseau/archery/TransformableSheet.java b/archery/src/main/java/com/github/romualdrousseau/archery/TransformableSheet.java index cadc842..ac15e00 100644 --- a/archery/src/main/java/com/github/romualdrousseau/archery/TransformableSheet.java +++ b/archery/src/main/java/com/github/romualdrousseau/archery/TransformableSheet.java @@ -62,7 +62,7 @@ public void applyAll() { if (!StringUtils.isBlank(recipe)) { try (var pyInterp = new PythonInterpreter()) { pyInterp.set("sheet", this); - pyInterp.exec(recipe); + pyInterp.exec(pyInterp.compile(recipe)); } }