mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Added doc string for terms_of_service_message
This commit is contained in:
parent
cba7e44caa
commit
0ca64ca553
|
@ -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"])
|
||||
|
|
Loading…
Reference in New Issue
Block a user