removed unused import, fixed typo

This commit is contained in:
Raphael Stoeckli 2022-10-05 23:11:32 +02:00 committed by AUTOMATIC1111
parent 2499fb4e19
commit 4288e53fc2

View File

@ -1,4 +1,3 @@
from cmath import log
import os
from PIL import Image, ImageOps
import platform
@ -13,7 +12,7 @@ def preprocess(process_src, process_dst, process_flip, process_split, process_ca
src = os.path.abspath(process_src)
dst = os.path.abspath(process_dst)
assert src != dst, 'same directory specified as source and desitnation'
assert src != dst, 'same directory specified as source and destination'
os.makedirs(dst, exist_ok=True)