Skip to content
Snippets Groups Projects
Verified Commit 9ce301dd authored by rahix's avatar rahix
Browse files

feat(preload): Make main.py a pointer to the default clock


Signed-off-by: default avatarRahix <rahix@rahix.de>
parent 091a1d73
No related branches found
No related tags found
No related merge requests found
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()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment