deleted warnings because there is confidence.
This commit is contained in:
parent
fb19f59f93
commit
a7c116bcd6
1 changed files with 0 additions and 1 deletions
|
@ -42,7 +42,6 @@ def detect_with_confidence(char *msg):
|
|||
if result == -1: # Error, signal with a negative number
|
||||
raise Exception("Error, signal with a negative number")
|
||||
elif result == 1: # Need more data
|
||||
warnings.warn("Need more data",UserWarning)
|
||||
detected_charset = csd_close2(csd, &confidence)
|
||||
ret = {
|
||||
"encoding":detected_charset,
|
||||
|
|
Loading…
Reference in a new issue