fix invalid selection message

This commit is contained in:
Vxrtrauter
2025-06-28 02:18:10 +02:00
parent 2cab12d166
commit b8b22cecca
2 changed files with 6 additions and 1 deletions
+4 -1
View File
@@ -52,9 +52,12 @@ def select_program():
selected = "https://uztracker.net/" + results[index].lstrip("./")
post_url = selected
get_magnet_link(post_url)
else:
print("Invalid Selection.")
except ValueError:
print("Invalid Selection.")
print(Exception)
return
def get_magnet_link(post_url):