summaryrefslogtreecommitdiff
path: root/bin/.local/bin/chardetect
diff options
context:
space:
mode:
Diffstat (limited to 'bin/.local/bin/chardetect')
-rwxr-xr-xbin/.local/bin/chardetect8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/.local/bin/chardetect b/bin/.local/bin/chardetect
new file mode 100755
index 0000000..627b836
--- /dev/null
+++ b/bin/.local/bin/chardetect
@@ -0,0 +1,8 @@
1#!/usr/bin/python3.6
2# -*- coding: utf-8 -*-
3import re
4import sys
5from chardet.cli.chardetect import main
6if __name__ == '__main__':
7 sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
8 sys.exit(main())