From 8147d5e01a427fc506d1337d73861951a9f7c96f Mon Sep 17 00:00:00 2001 From: Charles Le Maux Date: Sat, 21 Sep 2024 12:46:48 +0200 Subject: [PATCH] [~] Simple type fix --- generic_executor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'], }