Returning to custom domain choosing , after failed

This commit is contained in:
AnonUD4Y 2019-02-24 20:48:02 +05:30 committed by GitHub
parent d31a4f7e21
commit 8c22cfe810
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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