Changed code to support older Python versions
This commit is contained in:
parent
eb92d2d36f
commit
582458cdd0
5027 changed files with 794942 additions and 4 deletions
8
venv/bin/httpx
Executable file
8
venv/bin/httpx
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/srv/retards-server/minecraftd/venv/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
from httpx import main
|
||||
if __name__ == '__main__':
|
||||
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
||||
sys.exit(main())
|
||||
Loading…
Add table
Add a link
Reference in a new issue