diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b83a390..a15e8c3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -27,7 +27,7 @@ Then, run: ``` $ pip install -U setuptools -$ pip install -r requirements-test.txt +$ pip install -r requirements-dev.txt $ pip install -e . ``` diff --git a/README.md b/README.md index 4ff8147..4f7ed00 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ cropper = Cropper() cropped_array = cropper.crop('portrait.png') # Save the cropped image with PIL if a face was detected: -if cropped_array: +if cropped_array is not None: cropped_image = Image.fromarray(cropped_array) cropped_image.save('cropped.png') ~~~