summaryrefslogtreecommitdiff
path: root/bs4/dammit.py
diff options
context:
space:
mode:
Diffstat (limited to 'bs4/dammit.py')
-rw-r--r--bs4/dammit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bs4/dammit.py b/bs4/dammit.py
index 39ea9ee..b8828cb 100644
--- a/bs4/dammit.py
+++ b/bs4/dammit.py
@@ -19,7 +19,7 @@ try:
# PyPI package: cchardet
import cchardet
def chardet_dammit(s):
- return cchardet.detect(s).lower()
+ return cchardet.detect(s)
except ImportError:
try:
# Fall back to the pure Python implementation