KevinHuSh commited on
Commit
72412ac
·
1 Parent(s): 389dac4

rm useless warning message (#201)

Browse files

### 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)

Files changed (1) hide show
  1. rag/utils/__init__.py +2 -2
rag/utils/__init__.py CHANGED
@@ -37,7 +37,7 @@ def findMaxDt(fnm):
37
  if l > m:
38
  m = l
39
  except Exception as e:
40
- print("WARNING: can't find " + fnm)
41
  return m
42
 
43
 
@@ -55,7 +55,7 @@ def findMaxTm(fnm):
55
  if int(l) > m:
56
  m = int(l)
57
  except Exception as e:
58
- print("WARNING: can't find " + fnm)
59
  return m
60
 
61
 
 
37
  if l > m:
38
  m = l
39
  except Exception as e:
40
+ pass
41
  return m
42
 
43
 
 
55
  if int(l) > m:
56
  m = int(l)
57
  except Exception as e:
58
+ pass
59
  return m
60
 
61