You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-07-17 01:32:29 +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)
|
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