Skip to content

Commit

Permalink
Bug Fix
Browse files Browse the repository at this point in the history
Convert e to str using repr()
  • Loading branch information
jakewaldron committed Aug 3, 2016
1 parent 25e827c commit 8d23154
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/plexEmail.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8d23154

Please sign in to comment.