(filename)
| 70 | |
| 71 | |
| 72 | def load_dict(filename): |
| 73 | try: |
| 74 | with open(filename, 'r') as json_file: |
| 75 | dic = json.load(json_file) |
| 76 | return dic |
| 77 | except: |
| 78 | logging.info('json file error {}'.format(filename)) |
| 79 | return {} |
| 80 | |
| 81 | |
| 82 | def get_img_list(path): |
no outgoing calls
no test coverage detected