From 5b285bca1f6572d4eda7fb04fe7d4d4fef33ab0b Mon Sep 17 00:00:00 2001 From: Raphaƫl Barrois Date: Tue, 2 Jul 2013 11:14:08 +0200 Subject: Fix default color for factory.django.ImageField --- factory/django.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'factory/django.py') 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) -- cgit v1.2.3