mirror of
https://github.com/Mailu/Mailu.git
synced 2025-04-11 11:32:02 +02:00
Fix an edge case with old values containing None for coma separated lists
This commit is contained in:
parent
f647d1a0bc
commit
e784556330
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user