phantompy/__main__.py

18 lines
493 B
Python
Raw Normal View History

2022-11-16 08:56:28 +01:00
#!/usr/local/bin/python3.sh
# -*-mode: python; indent-tabs-mode: nil; py-indent-offset: 4; coding: utf-8 -*
from qasync_phantompy import iMain
try:
from support_phantompy import vsetup_logging
d = int(os.environ.get('DEBUG', 0))
if d > 0:
vsetup_logging(10, stream=sys.stderr)
else:
vsetup_logging(20, stream=sys.stderr)
vsetup_logging(log_level, logfile='', stream=sys.stderr)
except: pass
2022-11-16 19:33:59 +01:00
if __name__ == '__main__':
iMain(sys.argv[1:], bgui=False)