[FIX] report barcode cast humanreadable

This commit is contained in:
kevin wang 2014-12-22 17:07:49 +08:00 committed by Antony Lesuisse
parent 9ab18cd149
commit 7566b9d425
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ class ReportController(Controller):
at the bottom of the output image
"""
try:
width, height = int(width), int(height)
width, height, humanreadable = int(width), int(height), bool(humanreadable)
barcode = createBarcodeDrawing(
type, value=value, format='png', width=width, height=height,
humanReadable = humanreadable