From 5d621b69a5bc6d0434a0e21733da946636f030ef Mon Sep 17 00:00:00 2001 From: sTiKyt Date: Tue, 9 Jun 2020 08:03:25 +0300 Subject: [PATCH] Added doc string for port_selector --- Defs/ActionManager/simple_informant.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Defs/ActionManager/simple_informant.py b/Defs/ActionManager/simple_informant.py index dc6136b..6fec5de 100644 --- a/Defs/ActionManager/simple_informant.py +++ b/Defs/ActionManager/simple_informant.py @@ -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)