Skip to content
Snippets Groups Projects
Commit 84d685ca authored by Antoine Lambert's avatar Antoine Lambert
Browse files

browse/utils: Fix error when charset_normalizer.detect failed

The charset_normalizer.detect function can return a dict filled with
None values when it failed to detect an encoding so ensure to add a
None check to avoid runtime error when a content encoding cannot be
detected.
parent 002b56dc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment