libsaria: Add comment to playlist save()

The lock should be held while saving.  Save should normally be called by
a function that already holds the lock, though.
This commit is contained in:
Bryan Schumaker 2011-05-13 08:19:50 -04:00
parent ad7f780671
commit 202e75430e
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ def load():
song_list = plist_list
unlock_plist()
# NOTE: You should already be holding the lock when you call this
def save():
storage.save_obj("playlist", song_list)