Removed function PauseScreen()
This commit is contained in:
parent
4bbf9c2885
commit
0ef4b20d37
|
@ -34,13 +34,6 @@ def ClearScreen():
|
||||||
else:
|
else:
|
||||||
print ("Error: Unable clear screen")
|
print ("Error: Unable clear screen")
|
||||||
|
|
||||||
#Function to pause screen
|
|
||||||
def PauseScreen():
|
|
||||||
if os.name == "posix":
|
|
||||||
os.system("read pause")
|
|
||||||
elif os.name == "nt":
|
|
||||||
os.system("pause > nul")
|
|
||||||
|
|
||||||
#Detect system & PATH of user folder
|
#Detect system & PATH of user folder
|
||||||
if os.name == "posix":
|
if os.name == "posix":
|
||||||
os.chdir(os.environ["HOME"])
|
os.chdir(os.environ["HOME"])
|
||||||
|
@ -106,8 +99,7 @@ except:
|
||||||
print ("Help:")
|
print ("Help:")
|
||||||
print (" * http://caspian.dotconf.net/menu/Software/SendEmail/")
|
print (" * http://caspian.dotconf.net/menu/Software/SendEmail/")
|
||||||
print ("")
|
print ("")
|
||||||
print ("Press ENTER to exit")
|
PauseExit=input("Press ENTER to exit ")
|
||||||
PauseScreen()
|
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
#Check if curl is installed
|
#Check if curl is installed
|
||||||
|
@ -123,8 +115,7 @@ except:
|
||||||
print (" * http://curl.haxx.se/download.html")
|
print (" * http://curl.haxx.se/download.html")
|
||||||
print (" * http://www.paehl.com/open_source/?CURL_7.45.0")
|
print (" * http://www.paehl.com/open_source/?CURL_7.45.0")
|
||||||
print ("")
|
print ("")
|
||||||
print ("Press ENTER to exit")
|
PauseExit=input("Press ENTER to exit ")
|
||||||
PauseScreen()
|
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
#Import variables from ip2e-conf.py
|
#Import variables from ip2e-conf.py
|
||||||
|
|
Loading…
Reference in New Issue
Block a user