From 293ea6bd99ba6be7ffd75f8f231306882aab514f Mon Sep 17 00:00:00 2001 From: sTiKyt Date: Tue, 9 Jun 2020 07:28:31 +0300 Subject: [PATCH] Added doc string for license_handler --- 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 4eac5d4..977a20b 100644 --- a/Defs/ActionManager/simple_informant.py +++ b/Defs/ActionManager/simple_informant.py @@ -16,6 +16,11 @@ default_palette = theme.default_palette def license_handler(): + """ Checks if eula.txt exists, creates one if it doesn't. Checks if "eula = True" is inside. + + Returns: + boolean: Returns True if "eula = True" is inside eula.txt, False by default. + """ eula = pathlib_Path("eula.txt") if eula.exists():