poezio/poezio/__main__.py
mathieui 2e988af4d8 Fix launch.sh
We want to be able to run "python -m poezio" AND have a poezio entry
point.
2016-07-03 02:13:24 +02:00

12 lines
197 B
Python

def run():
from poezio.poezio import test_curses, main
if test_curses():
main()
else:
import sys
sys.exit(1)
return 0
if __name__ == '__main__':
run()