src/reportlab/graphics/barcode/code128.py
branchpy33
changeset 3723 99aa837b6703
parent 3721 0c93dd8ff567
child 3975 4a3599863c11
equal deleted inserted replaced
3722:29c11b905751 3723:99aa837b6703
   221     def __init__(self, value='', **args):
   221     def __init__(self, value='', **args):
   222 
   222 
   223         if type(value) is type(1):
   223         if type(value) is type(1):
   224             value = str(value)
   224             value = str(value)
   225             
   225             
   226         for (k, v) in list(args.items()):
   226         for k, v in args.items():
   227             setattr(self, k, v)
   227             setattr(self, k, v)
   228 
   228 
   229         if self.quiet:
   229         if self.quiet:
   230             if self.lquiet is None:
   230             if self.lquiet is None:
   231                 self.lquiet = max(inch * 0.25, self.barWidth * 10.0)
   231                 self.lquiet = max(inch * 0.25, self.barWidth * 10.0)