tuxbot-bot/venv/bin/chardetect

11 lines
264 B
Text
Raw Normal View History

2020-01-01 23:44:46 +01:00
#!/home/romain/gnousEU/rm-dev01/tuxbot-bot/venv/bin/python
2019-12-16 18:12:10 +01:00
# -*- coding: utf-8 -*-
import re
import sys
2020-01-01 23:44:46 +01:00
2019-12-16 18:12:10 +01:00
from chardet.cli.chardetect import main
2020-01-01 23:44:46 +01:00
2019-12-16 18:12:10 +01:00
if __name__ == '__main__':
2020-01-01 23:44:46 +01:00
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
2019-12-16 18:12:10 +01:00
sys.exit(main())