Skip to content

Commit

Permalink
Merge pull request #103 from jmorrey/master
Browse files Browse the repository at this point in the history
Fix for 'TypeError: float argument required, not str'
  • Loading branch information
kba authored Oct 20, 2016
2 parents 82746aa + 0200771 commit 1a906e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocropus-gpageseg
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def process1(job):
print_error("%s: bad scale (%g); skipping\n"%(fname,str(scale)))
return
if scale<args.minscale:
print_error("%s: scale (%g) less than --minscale; skipping\n"%(fname,str(scale)))
print_error("%s: scale (%s) less than --minscale; skipping\n"%(fname,str(scale)))
return

# find columns and text lines
Expand Down

0 comments on commit 1a906e3

Please sign in to comment.