populate_db: Read from the correct messages log path.

(imported from commit ec7ef103ddf06cdc89c02659ceefcab1f64c89e4)
This commit is contained in:
Tim Abbott 2012-10-05 14:42:40 -04:00
parent 12cd44bd0f
commit 9cfa8a868f
1 changed files with 1 additions and 1 deletions

View File

@ -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()