mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-11-02 19:18:07 +00: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)
|
return ",".join(value)
|
||||||
|
|
||||||
def process_result_value(self, value, dialect):
|
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
|
# Many-to-many association table for domain managers
|
||||||
|
|||||||
Reference in New Issue
Block a user