Skip to content

Commit 7da1293

Browse files
committed
Fixed broken PIL detection for new Python module pillow
1 parent 1bae5d9 commit 7da1293

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

askbot/startup_procedures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ def test_avatar():
617617
"""if "avatar" is in the installed apps,
618618
checks that the module is actually installed"""
619619
if 'avatar' in django_settings.INSTALLED_APPS:
620-
try_import('Image', 'PIL', short_message = True)
620+
try_import('PIL', 'PIL', short_message = True)
621621
try_import(
622622
'avatar',
623623
'-e git+git://github.com/ericflo/django-avatar.git#egg=avatar',

0 commit comments

Comments
 (0)