changed name

This commit is contained in:
test 2024-01-20 20:51:07 -05:00
parent 76cdd16a88
commit 2eaba2ae40

View File

@ -106,7 +106,7 @@ for code in soup.findAll('code'):
console.print(Markdown(f"```bash\n{code}\n```")) console.print(Markdown(f"```bash\n{code}\n```"))
print("--------------------------------------------------------") print("--------------------------------------------------------")
answer = input("Would you like to run this code [N/y/e/d]:").lower() answer = input("Would you like to run this code [N/y/e/q]:").lower()
if answer == "y" or answer == "yes": if answer == "y" or answer == "yes":
print("\n") print("\n")
os.system(code) os.system(code)
@ -125,6 +125,6 @@ for code in soup.findAll('code'):
os.system(f"{editor} {t.name}") os.system(f"{editor} {t.name}")
os.system(f"bash {t.name}") os.system(f"bash {t.name}")
os.system(f"rm -rf {t.name}") os.system(f"rm -rf {t.name}")
elif answer == "d" or answer == "done": elif answer == "q" or answer == "quit":
exit() exit()