Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
jiajunsu committed Sep 1, 2018
1 parent 038c5cd commit c75d673
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions calculator_of_Onmyoji/convert_json2xls.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import os
import sys

import load_data
import write_data
from calculator_of_Onmyoji import load_data
from calculator_of_Onmyoji import write_data


def get_json_files():
Expand Down
2 changes: 2 additions & 0 deletions calculator_of_Onmyoji/load_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ def sep_mitama_by_loc(mitama_data):

for d_k, d_v in mitama_data.items():
loc = d_v[u'位置']
if loc not in range(1, 6):
print('Mitama location must be 1 to 6, please chech you data.')
mitama_loc_data[loc].append({d_k: d_v})

return mitama_loc_data
Expand Down

0 comments on commit c75d673

Please sign in to comment.