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