We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8fa7b0c + 9a81a93 commit ce2b8bfCopy full SHA for ce2b8bf
1 file changed
barcode/writer.py
@@ -308,7 +308,8 @@ def _init(self, code):
308
"height": SIZE.format(height),
309
}
310
_set_attributes(self._root, **attributes)
311
- self._root.appendChild(self._document.createComment(COMMENT))
+ if COMMENT:
312
+ self._root.appendChild(self._document.createComment(COMMENT))
313
# create group for easier handling in 3rd party software
314
# like corel draw, inkscape, ...
315
group = self._document.createElement("g")
0 commit comments