minor change

master
Abhinav Sarkar 2008-10-03 17:24:04 +00:00
parent 37fce56b41
commit 44d04f2cba
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ class User(LastfmBase):
url = u.findtext('url'),
stats = Stats(
subject = u.findtext('name'),
match = float(u.findtext('match')),
match = u.findtext('match') and float(u.findtext('match')),
),
)
for u in data.findall('user')