We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd6a200 commit 31907b4Copy full SHA for 31907b4
ee/cli/plugins/secure.py
@@ -76,9 +76,11 @@ def secure_auth(self):
76
@expose(hide=True)
77
def secure_port(self):
78
"""This function Secures port"""
79
- while not self.app.pargs.user_input.isdigit():
80
- Log.info(self, "Please Enter valid port number ")
81
- self.app.pargs.user_input = input("EasyEngine admin port [22222]:")
+ if self.app.pargs.user_input:
+ while not self.app.pargs.user_input.isdigit():
+ Log.info(self, "Please Enter valid port number ")
82
+ self.app.pargs.user_input = input("EasyEngine "
83
+ "admin port [22222]:")
84
if not self.app.pargs.user_input:
85
port = input("EasyEngine admin port [22222]:")
86
if port == "":
0 commit comments