fix verbose output when redirected to file, #661

This commit is contained in:
Rhet Turnbull
2022-03-27 09:52:23 -07:00
parent 93de53da51
commit 382d097285
6 changed files with 27 additions and 15 deletions

View File

@@ -3,7 +3,6 @@ import os
import re
import pytest
from photoinfo_mock import PhotoInfoMock
import osxphotos
from osxphotos.exiftool import get_exiftool_path
@@ -15,6 +14,8 @@ from osxphotos.phototemplate import (
RenderOptions,
)
from .photoinfo_mock import PhotoInfoMock
try:
exiftool = get_exiftool_path()
except: