misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
Simone Margaritelli 2019-10-24 13:20:55 +02:00
parent 6d70a24aae
commit d5ac988498
No known key found for this signature in database
GPG Key ID: 82E42E7F3B34C97E

View File

@ -208,7 +208,7 @@ class View(object):
if peer.first_encounter():
face = random.choice((faces.AWAKE, faces.COOL))
# a good friend, positive expression
elif peer.is_good_friend():
elif peer.is_good_friend(self._config):
face = random.choice((faces.MOTIVATED, faces.FRIEND, faces.HAPPY))
# normal friend, neutral-positive
else: