mirror of https://github.com/zulip/zulip.git
populate_db: Read from the correct messages log path.
(imported from commit ec7ef103ddf06cdc89c02659ceefcab1f64c89e4)
This commit is contained in:
parent
12cd44bd0f
commit
9cfa8a868f
|
@ -214,7 +214,7 @@ def get_recipient_by_id(rid):
|
|||
return Recipient.objects.get(id=rid)
|
||||
|
||||
def restore_saved_messages():
|
||||
old_messages = file("all_zephyrs_log", "r").readlines()
|
||||
old_messages = file("all_messages_log", "r").readlines()
|
||||
for old_message_json in old_messages:
|
||||
old_message = simplejson.loads(old_message_json.strip())
|
||||
message = Message()
|
||||
|
|
Loading…
Reference in New Issue