Added doc string for port_selector

This commit is contained in:
sTiKyt 2020-06-09 08:03:25 +03:00
parent 3f7300663d
commit 5d621b69a5
No known key found for this signature in database
GPG Key ID: 510E1C3C9B2414B4

View File

@ -173,6 +173,11 @@ def log_writer(ctx): # Writing log
print(ctx)
def port_selector(): # Requests port input from user
"""Asks user to input number between 1 and 65535.
Returns:
string: Returns any number entered if it's between 1 and 65535, if it's not - asks for number again.
"""
run_command('clear')
print(global_localization.hidden_eye_logo)
print(global_localization.official_website_link)