Revert "Revert "Version 2.3.2""

This reverts commit e3a87e0f27.
This commit is contained in:
Jeroen Oudshoorn
2023-09-08 20:26:12 +02:00
parent 700ee3a4b6
commit 81d8632995

View File

@ -146,6 +146,9 @@ if __name__ == '__main__':
# input validation # input validation
if user_input.lower() in ('y', 'yes'): if user_input.lower() in ('y', 'yes'):
os.system("rm /root/.auto-update && systemctl restart pwnagotchi") os.system("rm /root/.auto-update && systemctl restart pwnagotchi")
print("Okay, give me a couple minutes. Just watch pwnlog while you wait.")
time.sleep(3)
os.system("pwnlog")
elif user_input.lower() in ('n', 'no'): # using this elif for readability elif user_input.lower() in ('n', 'no'): # using this elif for readability
print("Okay, guess not!") print("Okay, guess not!")
else: else: