"""The one function the demo pickle calls. It records a note and does nothing else."""

NOTES = []


def ran_on_open(note):
    """Called by the loader while it opens the demo pickle; keeps the note in NOTES and hands it back."""
    NOTES.append(note)
    return note
