Skip to content
Snippets Groups Projects
Unverified Commit aa71462a authored by KevinHuSh's avatar KevinHuSh Committed by GitHub
Browse files

fix bug #502 (#504)

### What problem does this PR solve?

#502 
### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
parent 72384b19
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,6 @@ function watch_broker(){
}
function task_bro(){
sleep 160;
watch_broker;
}
......
......@@ -78,7 +78,7 @@ class Pdf(PdfParser):
title = ""
authors = []
i = 0
while i < min(32, len(self.boxes)):
while i < min(32, len(self.boxes)-1):
b = self.boxes[i]
i += 1
if b.get("layoutno", "").find("title") >= 0:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment