mirror of
https://github.com/zulip/zulip.git
synced 2026-06-30 21:11:04 +08:00
migrations: Remove an unnecessary list.
This commit is contained in:
parent
ce09c8b65f
commit
3e90a5cdc0
@ -43,7 +43,7 @@ def fix_topics(apps: StateApps, schema_editor: DatabaseSchemaEditor) -> None:
|
||||
topics = [r[0] for r in results]
|
||||
for topic in topics:
|
||||
fixed_topic = "".join(
|
||||
[character for character in topic if character_is_printable(character)]
|
||||
character for character in topic if character_is_printable(character)
|
||||
)
|
||||
if fixed_topic == topic:
|
||||
continue
|
||||
|
||||
Loading…
Reference in New Issue
Block a user