Update layer.py

Always return a list of values to field, if there are two fields with the same name, calling this field will return all the values