From 5dde64cb60f18f5f11b410b3b78e3f690748e46a Mon Sep 17 00:00:00 2001 From: JiaJunsu Date: Thu, 5 Jul 2018 10:17:56 -0700 Subject: [PATCH] Fix bug --- calculator_of_Onmyoji/load_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calculator_of_Onmyoji/load_data.py b/calculator_of_Onmyoji/load_data.py index 81d52a2..5c61d98 100644 --- a/calculator_of_Onmyoji/load_data.py +++ b/calculator_of_Onmyoji/load_data.py @@ -34,7 +34,7 @@ def get_mitama_data(filename, ignore_serial): if skip_serial(serial, ignore_serial): continue - data = {data_format.MITAMA_COL_NAME_ZH[1]: r_data[1]} + data = {data_format.MITAMA_COL_NAME_ZH[1]: r_data[1].value} for i in range(2, data_len): prop_name = data_format.MITAMA_COL_NAME_ZH[i]