libsaria: Wrong variable initialization

Finding attributes for songs not in the library will run if "found"
is initialized to False instead of True...
This commit is contained in:
Bryan Schumaker 2011-06-17 23:21:23 -04:00
parent 12cb9a900a
commit 851c7251a2
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ def get_attrs(*attrs):
def all_attrs():
global cur_id
res = {}
found = True
found = False
if cur_id:
found = library.all_attrs(cur_id, res)
if found == False: