summaryrefslogtreecommitdiff
path: root/poezio/__main__.py
blob: d6f60f2454aa5b25aff79eaf5a0f25ae38c0ba18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
def run():
    from poezio.poezio import main, test_curses, test_env, test_unicode

    if not test_curses() or not test_env() or not test_unicode():
        import sys
        sys.exit(1)
    else:
        main()
    return 0


if __name__ == '__main__':
    run()