Skip to content

Commit

Permalink
Update update function
Browse files Browse the repository at this point in the history
  • Loading branch information
TKAMING committed Dec 22, 2022
1 parent 3d17b01 commit ad02a41
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scrapes/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ def update():
if option == "y" or option == "yes":
os.system(f"bash ~/.Scrapes/update.sh")

else:
print("\n[+] Scrapes already up to date")
print("[*] Hit any key to continue...\n")
input(header)

else:
print("\n[+] Scrapes already up to date")
print("[*] Hit any key to continue...\n")
input(header)
def remove():
# confirmation
print("\n[~] Are you sure you want to remove Scrapes [y/n]\n")
Expand All @@ -107,7 +107,7 @@ def remove():
# delete Scrapes
if option == "y" or option == "yes":
os.system("sudo rm -rf ~/.Scrapes")
print("[*] Scrapes successfully uninstalled and exeting...")
print("[*] Scrapes successfully uninstalled and exeting. Bye...")
sys.exit()

# cancel
Expand Down

0 comments on commit ad02a41

Please sign in to comment.