diff --git a/AveryLabels.py b/AveryLabels.py index cadf84b..704e58e 100644 --- a/AveryLabels.py +++ b/AveryLabels.py @@ -1,10 +1,7 @@ -import os from collections.abc import Iterator from reportlab.pdfgen import canvas -from reportlab.lib.pagesizes import A4, landscape -from reportlab.lib.units import inch, mm, cm -from reportlab.pdfbase import pdfmetrics -from reportlab.pdfbase.ttfonts import TTFont +from reportlab.lib.pagesizes import A4 +from reportlab.lib.units import mm, cm # Usage: # label = AveryLabels.AveryLabel(5160) diff --git a/main.py b/main.py index a282b5a..c562c50 100644 --- a/main.py +++ b/main.py @@ -2,7 +2,7 @@ import os import sys import AveryLabels -from reportlab.lib.units import mm, cm +from reportlab.lib.units import mm from reportlab_qrcode import QRCodeImage from reportlab.pdfgen import canvas