Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

migrations: Fix quoting bug in tutorial_status migration.

Tim Abbotta3806b416534
diff --git a/zerver/migrations/0568_mark_narrow_to_dm_with_welcome_bot_new_user_as_read.py b/zerver/migrations/0568_mark_narrow_to_dm_with_welcome_bot_new_user_as_read.py
index 35055fce53d..43778c23f8b 100644
--- a/zerver/migrations/0568_mark_narrow_to_dm_with_welcome_bot_new_user_as_read.py
+++ b/zerver/migrations/0568_mark_narrow_to_dm_with_welcome_bot_new_user_as_read.py
@@ -30,7 +30,7 @@ def mark_narrow_to_dm_with_welcome_bot_new_user_as_read(
FROM zerver_userprofile
WHERE is_bot = False
AND is_mirror_dummy = False
- AND tutorial_status != "W"
+ AND tutorial_status != 'W'
AND id > %(lower_id_bound)s AND id <= %(upper_id_bound)s;
""")
cursor.execute(