From f89c6c9d599c8e9f03f024691cdef61b3939859d Mon Sep 17 00:00:00 2001 From: KevinHuSh <kevinhu.sh@gmail.com> Date: Tue, 2 Apr 2024 13:50:05 +0800 Subject: [PATCH] rm useless warning message (#201) ### What problem does this PR solve? _Briefly describe what this PR aims to solve. Include background context that will help reviewers understand the purpose of the PR._ Issue link:#[[Link the issue here](https://github.com/infiniflow/ragflow/issues/200)] ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- rag/utils/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rag/utils/__init__.py b/rag/utils/__init__.py index 2ff34b3..f8d805a 100644 --- a/rag/utils/__init__.py +++ b/rag/utils/__init__.py @@ -37,7 +37,7 @@ def findMaxDt(fnm): if l > m: m = l except Exception as e: - print("WARNING: can't find " + fnm) + pass return m @@ -55,7 +55,7 @@ def findMaxTm(fnm): if int(l) > m: m = int(l) except Exception as e: - print("WARNING: can't find " + fnm) + pass return m -- GitLab