summaryrefslogtreecommitdiff
path: root/ATRI/plugins/console/driver/api.py
diff options
context:
space:
mode:
Diffstat (limited to 'ATRI/plugins/console/driver/api.py')
-rw-r--r--ATRI/plugins/console/driver/api.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/ATRI/plugins/console/driver/api.py b/ATRI/plugins/console/driver/api.py
index ba5405a..d83f98b 100644
--- a/ATRI/plugins/console/driver/api.py
+++ b/ATRI/plugins/console/driver/api.py
@@ -149,7 +149,7 @@ def get_block_list() -> dict:
return {"user": u_data, "group": g_data}
-def edit_block_list(is_enab: int, user_id: str, group_id: str) -> tuple:
+def edit_block_list(is_enab: bool, user_id: str, group_id: str) -> tuple:
d = get_block_list()
u_d = d["user"]
g_d = d["group"]
@@ -191,3 +191,7 @@ def edit_block_list(is_enab: int, user_id: str, group_id: str) -> tuple:
return False, dict()
return True, {"user": u_d, "group": g_d}
+
+
+def get_group_list():
+ ...