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:
Bryan Schumaker 2011-05-13 08:00:00 -04:00
parent 25f4410970
commit e6a7b94c57
1 changed files with 1 additions and 1 deletions

View File

@ -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):