decibel-audio-player:rebuild
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
Index: decibel-audio-player-1.08/src/modules/Covers.py
|
||||
===================================================================
|
||||
--- decibel-audio-player-1.08.orig/src/modules/Covers.py
|
||||
+++ decibel-audio-player-1.08/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
|
||||
Reference in New Issue
Block a user