Puzzlestream.py 283 Bytes
Newer Older
Nils Cedric Holle's avatar
Nils Cedric Holle committed
1 2 3 4 5 6
#!/bin/python3

# -*- coding: utf-8 -*-
import re
import sys

7
from puzzlestream.launch import main, setStdout
Nils Cedric Holle's avatar
Nils Cedric Holle committed
8 9 10

if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
11 12
    if not "--nolog" in sys.argv:
        setStdout()
Nils Cedric Holle's avatar
Nils Cedric Holle committed
13
    sys.exit(main())