You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-07-15 01:24:34 +02:00
Fix an edge case with old values containing None for coma separated lists
This commit is contained in:
@ -64,7 +64,7 @@ class CommaSeparatedList(db.TypeDecorator):
|
||||
return ",".join(value)
|
||||
|
||||
def process_result_value(self, value, dialect):
|
||||
return filter(bool, value.split(","))
|
||||
return filter(bool, value.split(",")) if value else []
|
||||
|
||||
|
||||
# Many-to-many association table for domain managers
|
||||
|
Reference in New Issue
Block a user