diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
commit | 9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch) | |
tree | 9b071a8105704e992946dcd6b801e9fcb7635142 /audio/decibel-audio-player/files/patch-src_modules_Covers.py | |
parent | MooseFS is a Fault tolerant, High Available, Highly Performing, Scale-Out, (diff) |
Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.
With hat: portmgr
Sponsored by: Absolight
Diffstat (limited to 'audio/decibel-audio-player/files/patch-src_modules_Covers.py')
-rw-r--r-- | audio/decibel-audio-player/files/patch-src_modules_Covers.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/decibel-audio-player/files/patch-src_modules_Covers.py b/audio/decibel-audio-player/files/patch-src_modules_Covers.py new file mode 100644 index 000000000000..47ae9ce907eb --- /dev/null +++ b/audio/decibel-audio-player/files/patch-src_modules_Covers.py @@ -0,0 +1,20 @@ +--- src/modules/Covers.py.orig 2011-09-19 10:09:25 UTC ++++ src/modules/Covers.py +@@ -124,7 +124,7 @@ class Covers(modules.ThreadedModule): + + def generateFullSizeCover(self, inFile, outFile, format): + """ Resize inFile if needed, and write it to outFile (outFile and inFile may be equal) """ +- import Image ++ from PIL import Image + + try: + # Open the image +@@ -144,7 +144,7 @@ class Covers(modules.ThreadedModule): + + def generateThumbnail(self, inFile, outFile, format): + """ Generate a thumbnail from inFile (e.g., resize it) and write it to outFile (outFile and inFile may be equal) """ +- import Image ++ from PIL import Image + + try: + # Open the image |