From 580ef5e21690de2b3512752be683cda40e10fc89 Mon Sep 17 00:00:00 2001 From: Frederic Date: Wed, 26 Feb 2014 21:59:27 +0100 Subject: [PATCH] fix: don't crash when saving a product in the admin interface --- cash/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cash/models.py b/cash/models.py index 225419f..44b6573 100644 --- a/cash/models.py +++ b/cash/models.py @@ -9,7 +9,7 @@ from django_auth_ldap.backend import populate_user from django.utils.translation import ugettext_lazy as _ from django.utils.translation import ugettext_noop from django.db import transaction -import PIL +import PIL.Image import StringIO class Account(models.Model):