main.py 319 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import os


def main():
    # Try loading analog clock
    default_app = "apps/analog_clock/__init__.py"
    try:
        with open(default_app, "r"):
            pass

        print("main.py: Loading " + default_app)
        os.exec(default_app)
    finally:
        os.exit(1)


if __name__ == "__main__":
    main()