jhansche / pybirdbuddy

25 stars 2 forks source link

Question: #16

Closed DenchyRS closed 1 year ago

DenchyRS commented 1 year ago

Hi, I apologies if this is the incorrect way to go about asking a question but I am unsure of how else to.

I am an armature programmer / self taught hobbyist and am trying to use this to make a lil something for my GF however when trying to use your code example in the read me I am receiving this error

birds = [c.species.name for c in collections.values()]
AttributeError: 'function' object has no attribute 'values'

I was wondering if you could be of any help ? :)

jhansche commented 1 year ago

Looks like there's a typo there. We should be invoking bb.refresh_collections(). Just add the () there.

Fixed in the README here.

DenchyRS commented 1 year ago

Thank you very much, appreciate you 🥇