Make sure playlist is initialized properly

This stops an error when ocarina is run with an empty library.  Because
the library is empty, the playlist was never being initialized.
This commit is contained in:
Bryan Schumaker 2010-11-15 21:30:58 -05:00
parent 02115050eb
commit f13e10e862
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@ import libsaria
from libsaria.sources import library
call = libsaria.event.call
song_list = None
song_set = None
song_list = []
song_set = set(song_list)
filtered = False
visible = None