Improved typing
This commit is contained in:
parent
5f4a9b7b5a
commit
225903d895
@ -41,7 +41,7 @@ def _check_dependencies():
|
|||||||
raise PermissionError('You must be root to use this script on linux.')
|
raise PermissionError('You must be root to use this script on linux.')
|
||||||
|
|
||||||
|
|
||||||
def _load_all_scripts(home_dir: str, root_user_dir: str) -> list[str]:
|
def _load_all_scripts(home_dir: str, root_user_dir: str) -> list:
|
||||||
files = []
|
files = []
|
||||||
|
|
||||||
for user in os.listdir(home_dir):
|
for user in os.listdir(home_dir):
|
||||||
|
Loading…
Reference in New Issue
Block a user