|
@@ -116,7 +116,7 @@ def extractCount(extract_dict,page_attachments):
|
|
|
|
|
|
if page_attachments is not None and page_attachments!='':
|
|
if page_attachments is not None and page_attachments!='':
|
|
try:
|
|
try:
|
|
- _attachments = json.loads(page_attachments,"")
|
|
|
|
|
|
+ _attachments = json.loads(page_attachments)
|
|
has_zhaobiao = False
|
|
has_zhaobiao = False
|
|
has_qingdan = False
|
|
has_qingdan = False
|
|
if len(_attachments)>0:
|
|
if len(_attachments)>0:
|
|
@@ -131,6 +131,7 @@ def extractCount(extract_dict,page_attachments):
|
|
if has_qingdan:
|
|
if has_qingdan:
|
|
extract_count += 2
|
|
extract_count += 2
|
|
except Exception as e:
|
|
except Exception as e:
|
|
|
|
+ traceback.print_exc()
|
|
pass
|
|
pass
|
|
|
|
|
|
|
|
|