Skip to content

Commit

Permalink
Update medicine.py
Browse files Browse the repository at this point in the history
fix typo.
  • Loading branch information
zake7749 authored Nov 30, 2016
1 parent 624813b commit 350f938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Chatbot/task_modules/medicine/medicine.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def restore(self, memory):
Args:
- memory: 為先前的任務紀錄,儲存已知的症狀
"""
self.symptom_dic = json.load(memory)
self.symptom_dic = json.loads(memory)

def get_suggest(self):
return self.doctor_suggest
Expand Down

0 comments on commit 350f938

Please sign in to comment.