Comment

Comment by 8organicbits

    db.commit()
    
    # Give Mycelite time to sync before script exits
    import time
    time.sleep(5)
This really needs a way to wait for the sync to complete. Sleep won't cut it.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton