2e988af4d8
We want to be able to run "python -m poezio" AND have a poezio entry point.
12 lines
197 B
Python
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()
|