This commit is contained in:
jxxghp
2023-09-01 11:35:46 +08:00
parent fe80f86518
commit 4dba739d54
2 changed files with 5 additions and 1 deletions

View File

@ -95,6 +95,10 @@ class SystemUtils:
"""
获取目录下所有指定扩展名的文件(包括子目录)
"""
if not min_filesize:
min_filesize = 0
if not directory.exists():
return []