Get nickname from penguin class instance instead of data model

This commit is contained in:
Ben 2019-04-25 17:11:07 +01:00
parent 1ae04577f3
commit 049daa8d11

View File

@ -50,7 +50,7 @@ class PenguinStringCompiler(OrderedDict):
def setup_default_builder(cls, string_builder):
string_builder.update({
'ID': PenguinStringCompiler.data_attribute_by_name('ID'),
'Nickname': PenguinStringCompiler.data_attribute_by_name('Nickname'),
'Nickname': PenguinStringCompiler.attribute_by_name('Nickname'),
'Approval': PenguinStringCompiler.attribute_by_name('approval'),
'Color': PenguinStringCompiler.data_attribute_by_name('Color'),
'Head': PenguinStringCompiler.data_attribute_by_name('Head'),