mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Added doc string for license_handler
This commit is contained in:
parent
431ca26ff7
commit
293ea6bd99
|
@ -16,6 +16,11 @@ default_palette = theme.default_palette
|
||||||
|
|
||||||
|
|
||||||
def license_handler():
|
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")
|
eula = pathlib_Path("eula.txt")
|
||||||
|
|
||||||
if eula.exists():
|
if eula.exists():
|
||||||
|
|
Loading…
Reference in New Issue
Block a user