From fa8dcea7da2075b9d6eb89fc019582c59ff80b52 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Fri, 1 Sep 2023 12:07:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20system.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/utils/system.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/utils/system.py b/app/utils/system.py index 758b0b47..28fbca52 100644 --- a/app/utils/system.py +++ b/app/utils/system.py @@ -100,6 +100,9 @@ class SystemUtils: if directory.is_file(): return [directory] + + if not min_filesize: + min_filesize = 0 files = [] pattern = r".*(" + "|".join(extensions) + ")$"