summaryrefslogtreecommitdiff
path: root/poezio/__main__.py
blob: b8696bb545efb5d7528331a1fe62c0442c39b1ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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()