Fix UII issue (hopefully for good)

This commit is contained in:
richard-dds
2018-08-16 15:29:41 -04:00
parent 3e6dc59f04
commit fda8c134a8
2 changed files with 7 additions and 1 deletions

View File

@@ -35,3 +35,9 @@ class NewlineListField(Field):
self.data = [l.strip() for l in valuelist[0].split("\n") if l]
else:
self.data = []
def process_data(self, value):
if isinstance(value, list):
self.data = "\n".join(value)
else:
self.data = value