diff options
author | Raphaël Barrois <raphael.barrois@polyconseil.fr> | 2013-07-02 11:14:08 +0200 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polyconseil.fr> | 2013-07-02 11:31:00 +0200 |
commit | 5b285bca1f6572d4eda7fb04fe7d4d4fef33ab0b (patch) | |
tree | 07fe7d8de673815376b25cf11330d52ee1537eb1 /factory/django.py | |
parent | 0a35ba85329803ef39028edb238d5b5241585128 (diff) | |
download | factory-boy-5b285bca1f6572d4eda7fb04fe7d4d4fef33ab0b.tar factory-boy-5b285bca1f6572d4eda7fb04fe7d4d4fef33ab0b.tar.gz |
Fix default color for factory.django.ImageField
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) |