Added doc string for exit_message

This commit is contained in:
sTiKyt 2020-06-09 07:28:41 +03:00
parent 293ea6bd99
commit cba7e44caa
No known key found for this signature in database
GPG Key ID: 510E1C3C9B2414B4

View File

@ -42,6 +42,14 @@ def license_handler():
def exit_message(port = 80): # Message when HiddenEye exit
"""Displays preconfigured message when HiddenEye execution ends or user tries to leave app.
Args:
port (int, optional): Will be used as port value if custom one isn't provided. Needed in case user decides to restart app again. Defaults to 80.
Returns:
method: If no option is selected, exit message returns to self and gets shown again.
"""
choice = input(localization.lang_exit_message["choice"])
choice.lower()
if choice == 'r':