mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
try message boxes
This commit is contained in:
parent
5a05647954
commit
e7610934f4
1 changed files with 3 additions and 4 deletions
|
@ -493,15 +493,14 @@ if sys.argv[1] == "menu":
|
|||
|
||||
# get host list from shop
|
||||
shopurl = text
|
||||
os.system('clear')
|
||||
hosts = shopList(shopurl)
|
||||
if hosts is None:
|
||||
# shopurl not working
|
||||
print("NONE")
|
||||
time.sleep(3)
|
||||
Dialog(dialog="dialog",autowidgetsize=True).msgbox("NONE")
|
||||
elif len(hosts) == 0:
|
||||
# shopurl not working
|
||||
print("NO HOSTS")
|
||||
time.sleep(3)
|
||||
Dialog(dialog="dialog",autowidgetsize=True).msgbox("NO HOSTS")
|
||||
else:
|
||||
# ok we got hosts - continue
|
||||
break
|
||||
|
|
Loading…
Add table
Reference in a new issue