MOD:bug
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -1870,7 +1870,7 @@ class EmployeeView(GenericView): | ... | @@ -1870,7 +1870,7 @@ class EmployeeView(GenericView): |
1870 | bss_ocr = json.loads(bss_ocr_str) | 1870 | bss_ocr = json.loads(bss_ocr_str) |
1871 | self.running_log.info('[query Employee] [application_id={0}] [bss_ocr={1}]'.format(application_id, bss_ocr)) | 1871 | self.running_log.info('[query Employee] [application_id={0}] [bss_ocr={1}]'.format(application_id, bss_ocr)) |
1872 | for one_bss in bss_ocr: | 1872 | for one_bss in bss_ocr: |
1873 | income_keywords = one_bss['income_keywords'] | 1873 | income_keywords = one_bss.get('income_keywords') |
1874 | self.running_log.info('[query Employee] [application_id={0}] [income_keywords={1}]'.format(application_id, income_keywords)) | 1874 | self.running_log.info('[query Employee] [application_id={0}] [income_keywords={1}]'.format(application_id, income_keywords)) |
1875 | if income_keywords is not None and len(income_keywords) > 0: | 1875 | if income_keywords is not None and len(income_keywords) > 0: |
1876 | return response.ok(data=True) | 1876 | return response.ok(data=True) | ... | ... |
-
Please register or sign in to post a comment