prevent subscription menu from exiting to terminal on cancel

This commit is contained in:
rootzoll
2021-08-16 16:51:19 +02:00
parent 216cd98c0a
commit e5a54fe4fd

View File

@@ -271,7 +271,7 @@ def main():
The IP2TOR service just makes sense if you run The IP2TOR service just makes sense if you run
your RaspiBlitz behind TOR. your RaspiBlitz behind TOR.
''', title="Info") ''', title="Info")
sys.exit(1) sys.exit(0)
os.system("clear") os.system("clear")
print("please wait ..") print("please wait ..")
@@ -405,7 +405,7 @@ def main():
except Exception as e: except Exception as e:
print(e) print(e)
time.sleep(3) time.sleep(3)
sys.exit(1) sys.exit(0)
# run creating a new IP2TOR subscription # run creating a new IP2TOR subscription
os.system("clear") os.system("clear")