This commit is contained in:
MarkusJoe
2022-02-19 11:07:43 +08:00
parent 06307c6384
commit fcb4c41f8e
2 files changed
+1 -1

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@ def requests_log() -> None:
origin_log_list = os.listdir('./bin/log')
origin_log_list.remove('.gitkeep')
if len(origin_log_list) > 10:
if len(origin_log_list) > 100:
for d in origin_log_list:
try:
os.remove(f'./bin/log/{d}')
BIN
View File
Binary file not shown.