Fixed the `get_tastes` function

Replaced eval with getattr
Replaced the for loop with a list comprehension
Merge pull request #17 from Lucretiel/patch-2

Fixed the `get_tastes` function