diff options
Diffstat (limited to 'factory/django.py')
-rw-r--r-- | factory/django.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/factory/django.py b/factory/django.py index 04bdbbf..1672fcc 100644 --- a/factory/django.py +++ b/factory/django.py @@ -191,7 +191,7 @@ class ImageField(FileField): width = params.get('width', 100) height = params.get('height', width) - color = params.get('blue') + color = params.get('color', 'blue') image_format = params.get('format', 'JPEG') thumb = Image.new('RGB', (width, height), color) |