import PIL.Image rather than just Image
This commit is contained in:
parent
78a1ef0cc5
commit
09de50ec18
@ -47,7 +47,7 @@ import mimetypes
|
|||||||
import pkg_resources
|
import pkg_resources
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import Image
|
import PIL.Image as Image
|
||||||
import cStringIO
|
import cStringIO
|
||||||
import deluge.ui.Win32IconImagePlugin
|
import deluge.ui.Win32IconImagePlugin
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user