]> OzVa Git service - bread/commitdiff
Fixed bug with speach marks in f-string
authorMax Value <greenwoodw50@gmail.com>
Mon, 12 May 2025 19:40:07 +0000 (20:40 +0100)
committerMax Value <greenwoodw50@gmail.com>
Mon, 12 May 2025 19:40:07 +0000 (20:40 +0100)
sous.py

diff --git a/sous.py b/sous.py
index 3671b91d618d6ac505e2bfc2a73d91310e612fc0..6994bce2b6fb5359e0fe57bd8d70ebcc069ea76a 100755 (executable)
--- a/sous.py
+++ b/sous.py
@@ -70,8 +70,8 @@ class Recipe:
                with open(path.join("build", self.recipe["tex"]), "w") as f:
                        f.write(template.render(recipe = self.recipe))
 
-               system(f"pdflatex -interaction='nonstopmode' -output-directory='build' 'build/{self.recipe["tex"]}'")
-               system(f"mv build/{self.recipe["pdf"]} recipes")
+               system(f"pdflatex -interaction='nonstopmode' -output-directory='build' 'build/{self.recipe['tex']}'")
+               system(f"mv build/{self.recipe['pdf']} recipes")
 
 # main