2020-01-02 16:49:22 +01:00
|
|
|
#!/opt/tuxbot-bot/venv/bin/python
|
2019-12-16 18:12:10 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
import re
|
|
|
|
import sys
|
|
|
|
from chardet.cli.chardetect import main
|
|
|
|
if __name__ == '__main__':
|
2020-01-02 16:49:22 +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())
|