From 8c22cfe81058013bc842f62ec3867c9bc757124d Mon Sep 17 00:00:00 2001 From: AnonUD4Y Date: Sun, 24 Feb 2019 20:48:02 +0530 Subject: [PATCH] Returning to custom domain choosing , after failed --- Defs/Actions.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Defs/Actions.py b/Defs/Actions.py index 64532a3..6306c39 100644 --- a/Defs/Actions.py +++ b/Defs/Actions.py @@ -143,10 +143,11 @@ def runServeo(): print("\n{0}[{1}*{0}]{1} TINYURL: {2}".format(RED, DEFAULT, GREEN) + link + "{1}".format(RED, DEFAULT, GREEN)) print("\n") except CalledProcessError: - print (_('''\n\n{0}FAILED !!!...{1}FAILED !!!..{0}FAILED !!!\n\n{0}[{1}!{0}]{0} Please Make Sure:\n{1} 1)~ If You are still connected to the Internet.\n 2)~ If You Have Chosen A {0}Valid{0}{1} Custom URL. \n As Serveo Implemented More Security To Stop misuse of the service.\n 3)~ You Can Give another Try.\n\n\n{0}SCRIPT STOPPED {1}!! \n + print (_('''\n\n{0}FAILED TO GET THIS DOMAIN. !!!\n\n{0}LOOKS LIKE CUSTOM URL IS NOT VALID or ALREADY OCCUPIED BY SOMEONE ELSE. !!!\n\n{0}[{1}!{0}]TRY TO SELECT ANOTHER CUSTOM DOMAIN{1} (GOING BACK).. !! \n ''').format(RED, DEFAULT)) - exit(0) - + sleep(4) + system('clear') + return runServeo() def runMainMenu(): #menu where user select what they wanna use