libsaria: Always get attributes from library
Attributes are stored in the library, so it makes sense to get them there.
This commit is contained in:
parent
25f4410970
commit
e6a7b94c57
|
@ -39,7 +39,7 @@ class Source:
|
|||
def get_attrs(*attrs):
|
||||
# I should probably get a lock here...
|
||||
if cur_id:
|
||||
return cur_source.get_attrs(cur_id, *attrs)
|
||||
return library.get_attrs(cur_id, *attrs)
|
||||
return -1
|
||||
|
||||
def set_attr(attr, value):
|
||||
|
|
Loading…
Reference in New Issue