From 0ca64ca553eb8dfbabedd28c0878ebf465febe39 Mon Sep 17 00:00:00 2001 From: sTiKyt Date: Tue, 9 Jun 2020 07:28:53 +0300 Subject: [PATCH] Added doc string for terms_of_service_message --- 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 0474540..4a274db 100644 --- a/Defs/ActionManager/simple_informant.py +++ b/Defs/ActionManager/simple_informant.py @@ -75,6 +75,11 @@ def exit_message(port = 80): # Message when HiddenEye exit return exit_message(port) def terms_of_service_message(): + """Requests user to provide agreement to license provided. + + Returns: + boolean: Always returns True, if user doesn't accept agreement - proceeds to exit() + """ agreement = license_handler() if not agreement: print(localization.lang_terms_of_service_message["GPL_3.0"])