diff --git a/Makefile b/Makefile index 14ac69ff5..4433c00f7 100644 --- a/Makefile +++ b/Makefile @@ -63,4 +63,4 @@ locales: .PHONY: style style: - flake8 . --count --max-complexity=10 --max-line-length=150 --statistics --exclude=pyembroidery,__init__.py + flake8 . --count --max-complexity=10 --max-line-length=150 --statistics --exclude=pyembroidery,__init__.py,electron,build diff --git a/lib/extensions/print_pdf.py b/lib/extensions/print_pdf.py index 6eef1f8dc..4d8ffbd4d 100644 --- a/lib/extensions/print_pdf.py +++ b/lib/extensions/print_pdf.py @@ -16,7 +16,7 @@ from jinja2 import Environment, FileSystemLoader, select_autoescape import requests from ..gui import open_url -from ..i18n import _, translation as inkstitch_translation +from ..i18n import translation as inkstitch_translation from ..stitch_plan import patches_to_stitch_plan from ..svg import render_stitch_plan from ..svg.tags import INKSCAPE_GROUPMODE