From 225903d8955c547ff7e870f3db96c43ae5fb8761 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Wed, 21 Apr 2021 12:23:31 +0200 Subject: [PATCH] Improved typing --- users/vsrv/scripts/write_bashrc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/vsrv/scripts/write_bashrc.py b/users/vsrv/scripts/write_bashrc.py index e8c5a9d..fe74ca8 100644 --- a/users/vsrv/scripts/write_bashrc.py +++ b/users/vsrv/scripts/write_bashrc.py @@ -41,7 +41,7 @@ def _check_dependencies(): 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 = [] for user in os.listdir(home_dir):