Skip to content

Commit

Permalink
Fix for 'TypeError: float argument required, not str'
Browse files Browse the repository at this point in the history
  • Loading branch information
jmorrey committed Jun 28, 2016
1 parent 97ace55 commit 0200771
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 0200771

Please sign in to comment.