jta / scrapefm

Last.fm scraper
1 stars 0 forks source link

Subscriber info wrong. #7

Closed jta closed 11 years ago

jta commented 11 years ago

When extracting subscriber info from user.getInfo we cast the response string as a boolean directly, resulting in True for both "0" and "1".

jta commented 11 years ago

Fixed, subscriber is now an Integer. Not ideal, but better than making the code messier for a single field.