diff options
Diffstat (limited to 'pillow-import.patch')
-rw-r--r-- | pillow-import.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pillow-import.patch b/pillow-import.patch new file mode 100644 index 000000000000..a910c47fc1e8 --- /dev/null +++ b/pillow-import.patch @@ -0,0 +1,16 @@ +diff --git a/flacsync/encoder.py b/flacsync/encoder.py +index afdffc3..9822346 100644 +--- a/flacsync/encoder.py ++++ b/flacsync/encoder.py +@@ -15,7 +15,10 @@ import os + import shutil + import subprocess as sp + import tempfile +-import Image ++try: ++ import Image ++except ImportError: ++ import PIL.Image as Image + + from . import util + |