mirror of
https://github.com/mikeswanson/WallGet.git
synced 2025-04-19 06:48:04 +02:00
Updates available actions
This commit is contained in:
parent
58a1f364f9
commit
cce0f49bb8
1 changed files with 4 additions and 4 deletions
|
@ -21,8 +21,8 @@ def main():
|
||||||
print(f'Please run as admin: sudo python3 "{__file__}"')
|
print(f'Please run as admin: sudo python3 "{__file__}"')
|
||||||
exit()
|
exit()
|
||||||
|
|
||||||
print("WallGet Live Wallpaper Download Script")
|
print("WallGet Live Wallpaper Download/Delete Script")
|
||||||
print("--------------------------------------\n")
|
print("---------------------------------------------\n")
|
||||||
|
|
||||||
# Validate environment
|
# Validate environment
|
||||||
if not os.path.isdir(IDLEASSETSD_PATH):
|
if not os.path.isdir(IDLEASSETSD_PATH):
|
||||||
|
@ -55,7 +55,7 @@ def main():
|
||||||
print(f"{item + 1}. All")
|
print(f"{item + 1}. All")
|
||||||
|
|
||||||
# Select category
|
# Select category
|
||||||
category_index = as_int(input("\nCategory number to download? "))
|
category_index = as_int(input("\nCategory number? "))
|
||||||
if category_index < 1 or category_index > item + 1:
|
if category_index < 1 or category_index > item + 1:
|
||||||
print("\nNo category selected.")
|
print("\nNo category selected.")
|
||||||
exit()
|
exit()
|
||||||
|
@ -64,7 +64,7 @@ def main():
|
||||||
)
|
)
|
||||||
|
|
||||||
# Download or delete?
|
# Download or delete?
|
||||||
action = input("\nDownload or delete? (d/x) ").strip().lower()
|
action = input("\n(d)Download or (x)delete? (d/x) ").strip().lower()
|
||||||
if action != "d" and action != "x":
|
if action != "d" and action != "x":
|
||||||
print("\nNo action selected.")
|
print("\nNo action selected.")
|
||||||
exit()
|
exit()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue