From 8907996da6f6e57715a90b9a464747eb8b0cadae Mon Sep 17 00:00:00 2001 From: vitrinekast Date: Tue, 26 Mar 2024 21:47:45 +0100 Subject: [PATCH] actually pas the var --- script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.py b/script.py index 95d79b9..0921780 100644 --- a/script.py +++ b/script.py @@ -99,7 +99,7 @@ print("Output the files"); with open("/home/xpub/www/html/tl-dr/book.html", "w") as f: print(output, file=f) print("execute the bash script now to create the books"); - subprocess.run(['sh', 'create_book.sh', 'book_name']) + subprocess.run(['sh', 'create_book.sh', book_name]) print("Finished"); # At the moment, we are not storing logs in the log folder anymore