feat: enable debugging alignment with borders
This commit is contained in:
parent
d2cc755e44
commit
1ee19e2e46
3 changed files with 11 additions and 3 deletions
|
|
@ -92,7 +92,7 @@ BUSINESS_CARDS = 5371
|
|||
|
||||
|
||||
class AveryLabel:
|
||||
def __init__(self, label, **kwargs):
|
||||
def __init__(self, label, debug, **kwargs):
|
||||
data = labelInfo[label]
|
||||
self.across = data.labels_horizontal
|
||||
self.down = data.labels_vertical
|
||||
|
|
@ -103,7 +103,7 @@ class AveryLabel:
|
|||
)
|
||||
self.margins = data.margin
|
||||
self.topDown = True
|
||||
self.debug = False
|
||||
self.debug = debug
|
||||
self.pagesize = data.pagesize
|
||||
self.position = 0
|
||||
self.__dict__.update(kwargs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue