From 627d3d55cc58070abd255063eea5fafab3578cc7 Mon Sep 17 00:00:00 2001 From: Nyako <46496367+Hell13Cat@users.noreply.github.com> Date: Sat, 6 Jun 2026 22:19:53 +0300 Subject: [PATCH] 0.2.1s --- system_module/tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system_module/tasks.py b/system_module/tasks.py index 07f138a..1ab89e9 100644 --- a/system_module/tasks.py +++ b/system_module/tasks.py @@ -34,8 +34,8 @@ def get_file_list_size(file_list: list[str]): total += os.path.getsize(fp) return total -def get_size_edge(type_searсh: bool, file_list: list[str]): - if type_searсh: +def get_size_edge(type_search: bool, file_list: list[str]): + if type_search: result = min(file_list, key=lambda f: Path(f).stat().st_size) else: result = max(file_list, key=lambda f: Path(f).stat().st_size)