a few more fixups

pull/288/head
Lex Neva 2018-08-21 21:57:15 -04:00
rodzic 908f2cd772
commit f53fe05200
4 zmienionych plików z 12 dodań i 13 usunięć

Wyświetl plik

@ -3,7 +3,6 @@ import os
import tempfile
from .base import InkstitchExtension
from ..i18n import _
from ..output import write_embroidery_file
from ..stitch_plan import patches_to_stitch_plan
from ..svg import PIXELS_PER_MM

Wyświetl plik

@ -107,7 +107,7 @@ class PrintPreviewServer(Thread):
else:
self.resources_path = os.path.realpath(os.path.join(os.path.dirname(__file__), '..', '..', 'print', 'resources'))
def __setup_app(self):
def __setup_app(self): # noqa: C901
self.__set_resources_path()
self.app = Flask(__name__)

Wyświetl plik

@ -5,7 +5,7 @@ import colorsys
from itertools import izip
from .svg import PIXELS_PER_MM, color_block_to_point_lists
from .i18n import _
class EmbroiderySimulator(wx.Frame):
def __init__(self, *args, **kwargs):