Added doc string for license_handler

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

View File

@ -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():