Skip to content

Commit 13fce49

Browse files
author
Thorsten Weimann
committed
Merged in iconberg/python-barcode (pull request #4)
Improve for: Issue #6: Custom text not allowed under barcode.
2 parents f1c363d + 3b2582d commit 13fce49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

barcode/writer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def render(self, code):
192192
color = self.foreground
193193
self._callbacks['paint_module'](xpos, ypos, self.module_width * abs(mod), color) # remove painting for background colored tiles?
194194
xpos += self.module_width * abs(mod)
195-
bxe = xpos - self.module_width * abs(mod) # x end of barcode
195+
bxe = xpos
196196
# Add right quiet zone to every line, except last line, quiet zone already provided with background, should it be removed complety?
197197
if (cc + 1) != len(code):
198198
self._callbacks['paint_module'](xpos, ypos, self.quiet_zone, self.background)

0 commit comments

Comments
 (0)