deleted warnings because there is confidence.

This commit is contained in:
PyYoshi 2012-07-07 11:35:00 +09:00
parent fb19f59f93
commit a7c116bcd6

View file

@ -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,