markup: move WORKDIR to utils.py

This commit is contained in:
2019-10-18 16:37:57 -07:00
parent 94c1a419dc
commit 3199f6ab40
3 changed files with 6 additions and 10 deletions

View File

@ -9,11 +9,7 @@ import dumper
import random as rng
from pathlib import Path
from django.conf import settings
from .utils import cv2_rect, set_file_perms
WORKDIR = os.path.join(settings.ASSET_DIR, 'markup', 'work')
from .utils import cv2_rect, ensure_dir, set_file_perms, WORKDIR
# https://www.pyimagesearch.com/2014/10/20/finding-shapes-images-using-python-opencv/