Skip to content

Commit

Permalink
Use charset_normalizer over cchardet
Browse files Browse the repository at this point in the history
  • Loading branch information
vevv committed Oct 27, 2022
1 parent 49fc5bf commit 3539914
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ffsubsync/subtitle_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from typing import Any, Optional

try:
import cchardet as chardet
import charset_normalizer as chardet
except ImportError:
import chardet # type: ignore
import pysubs2
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
argparse
auditok==0.1.5
cchardet
charset_normalizer
ffmpeg-python
numpy>=1.12.0
pysubs2;python_version<'3.7'
Expand Down

0 comments on commit 3539914

Please sign in to comment.