Skip to content

Commit

Permalink
Add __main__ module to support python -m chardet
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-blanchard committed Dec 2, 2022
1 parent 0649ffe commit 0e9b7bc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions chardet/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"""Wrapper so people can run python -m chardet"""

from .cli.chardetect import main

if __name__ == "__main__":
main()

0 comments on commit 0e9b7bc

Please sign in to comment.