diff options
| author | Nick White <git@njw.name> | 2019-01-24 19:11:04 +0000 | 
|---|---|---|
| committer | Nick White <git@njw.name> | 2019-01-24 19:11:04 +0000 | 
| commit | 1c17766952bdcd6f7d31d0fa1a2e504b1aa4f14a (patch) | |
| tree | 71bb15de82d98232d3625f872cc3ce70054cfc1b /bucket-lines | |
| parent | 8dff3248515a81386c4bdedca9fa05b22033c68d (diff) | |
Fix bug: if non-prob/hocr file was encountered a dupe old line could be processed
Diffstat (limited to 'bucket-lines')
| -rw-r--r-- | bucket-lines/bucket-lines.go | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/bucket-lines/bucket-lines.go b/bucket-lines/bucket-lines.go index e4e5a4d..ee81721 100644 --- a/bucket-lines/bucket-lines.go +++ b/bucket-lines/bucket-lines.go @@ -67,6 +67,7 @@ func main() {  				newlines, err = hocr.GetLineDetails(f)  			default:  				log.Printf("Skipping file '%s' as it isn't a .prob or .hocr\n", f) +				continue  		}  		if err != nil {  			log.Fatal(err)  | 
