mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-04 17:59:43 +02:00
fix invalid selection message
This commit is contained in:
@@ -52,9 +52,12 @@ def select_program():
|
|||||||
selected = "https://uztracker.net/" + results[index].lstrip("./")
|
selected = "https://uztracker.net/" + results[index].lstrip("./")
|
||||||
post_url = selected
|
post_url = selected
|
||||||
get_magnet_link(post_url)
|
get_magnet_link(post_url)
|
||||||
|
else:
|
||||||
|
print("Invalid Selection.")
|
||||||
|
|
||||||
|
|
||||||
except ValueError:
|
except ValueError:
|
||||||
print("Invalid Selection.")
|
print(Exception)
|
||||||
return
|
return
|
||||||
|
|
||||||
def get_magnet_link(post_url):
|
def get_magnet_link(post_url):
|
||||||
|
|||||||
Reference in New Issue
Block a user