From 8d2315443b477aa7467fb5f5af5851a1d7edea4b Mon Sep 17 00:00:00 2001 From: jakewaldron Date: Wed, 3 Aug 2016 14:53:36 -0700 Subject: [PATCH] Bug Fix Convert e to str using repr() --- scripts/plexEmail.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/plexEmail.py b/scripts/plexEmail.py index 492c06b..caa4e8f 100644 --- a/scripts/plexEmail.py +++ b/scripts/plexEmail.py @@ -431,6 +431,7 @@ def processImage(imageHash, thumb, mediaType, seasonIndex, episodeIndex): try: shutil.copy(imgLocation, img) except EnvironmentError, e: + logging.warning('processImage: Failed to copy image - ' + repr(e)) thumbObj['emailImgPath'] = '' thumbObj['webImgPath'] = '' else: