|
@@ -1791,6 +1791,8 @@ class Dataflow_attachment(Dataflow):
|
|
|
try:
|
|
|
item = self.queue_attachment_ocr.get(True,timeout=0.2)
|
|
|
log("attachment get doc:%s"%(str(item.get("item",{}).get("docid"))))
|
|
|
+ if item.get("item",{}).get("docid")<290001272:
|
|
|
+ continue
|
|
|
self.attachment_recognize(item,None)
|
|
|
log("attachment get doc:%s succeed"%(str(item.get("item",{}).get("docid"))))
|
|
|
except Exception as e:
|
|
@@ -1799,6 +1801,8 @@ class Dataflow_attachment(Dataflow):
|
|
|
try:
|
|
|
item = self.queue_attachment_not_ocr.get(True,timeout=0.2)
|
|
|
log("attachment get doc:%s"%(str(item.get("item",{}).get("docid"))))
|
|
|
+ if item.get("item",{}).get("docid")<290001272:
|
|
|
+ continue
|
|
|
self.attachment_recognize(item,None)
|
|
|
log("attachment get doc:%s succeed"%(str(item.get("item",{}).get("docid"))))
|
|
|
except Exception as e:
|