Skip to content

Commit

Permalink
🔥 Remove double logging entry for the same purpose (language/coherenc…
Browse files Browse the repository at this point in the history
…e) detection (#115)
  • Loading branch information
Ousret committed Sep 23, 2021
1 parent 747faeb commit aad0aef
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions charset_normalizer/api.py
Expand Up @@ -413,13 +413,6 @@ def from_bytes(
)
return CharsetMatches([results[encoding_iana]])

if results[-1].languages:
logger.info(
"Using %s code page we detected the following languages: %s",
encoding_iana,
results[encoding_iana]._languages,
)

if len(results) == 0:
if fallback_u8 or fallback_ascii or fallback_specified:
logger.warning(
Expand Down

0 comments on commit aad0aef

Please sign in to comment.