mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-23 12:29:04 +01:00
detect no subscriptions
This commit is contained in:
@@ -47,8 +47,6 @@ You have no active or inactive subscriptions at the moment.
|
||||
''',title="Info")
|
||||
return
|
||||
|
||||
while True:
|
||||
|
||||
# load subscriptions and make dialog choices out of it
|
||||
choices = []
|
||||
lookup = {}
|
||||
@@ -75,7 +73,7 @@ You have no active or inactive subscriptions at the moment.
|
||||
"You have the following subscriptions (active & inactive). Select for details:",
|
||||
choices=choices, title="My Subscriptions")
|
||||
|
||||
# if user cancels
|
||||
# if user chosses CANCEL
|
||||
if code != d.OK: return
|
||||
|
||||
# get data of selected subscrption
|
||||
@@ -127,6 +125,9 @@ The following additional information is available:
|
||||
# TODO: make call to blitz.ip2tor to cancel/delete subscription
|
||||
pass
|
||||
|
||||
# loop until no more subscriptions or user chooses CANCEL on subscription list
|
||||
mySubscriptions()
|
||||
|
||||
####### SSH MENU #########
|
||||
|
||||
mySubscriptions()
|
||||
Reference in New Issue
Block a user