Update Model.py

Uncomment the line 30 to take the avatar_type choice
This commit is contained in:
zakaria47fs 2020-01-24 13:26:05 +01:00 committed by GitHub
commit 6a3b0feb22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ class AVATARModel(ModelBase):
1:'head',
2:'full_face'}[avatar_type]
#self.options['avatar_type'] = 'head'
self.options['avatar_type'] = self.options.get('avatar_type', avatar_type)
else:
self.options['avatar_type'] = self.options.get('avatar_type', 'head')