diff --git a/generic_executor.py b/generic_executor.py index 71e5712..0316841 100644 --- a/generic_executor.py +++ b/generic_executor.py @@ -124,7 +124,7 @@ def fetch_players_status(user: UserRecord, name: str) -> tuple[HTTPStatus, Union def fetch_dir_content(user: UserRecord, name: str) -> tuple[HTTPStatus, Union[str, list]]: user_id: str = user.uid server_path: str = f"users/{user_id}/{name}/" - dirs: dict[str, [str, str]] = { + dirs: dict[str, list[str]] = { 'plugins': ['plugins', '.jar'], 'datapack' : ['world/datapacks', '.zip'], }