Added doc string for port_selector

pull/690/head
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
1 changed files with 5 additions and 0 deletions

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)