Update error message

This commit is contained in:
hugovk 2017-02-22 08:20:45 +02:00
parent 310105625c
commit 0764b2b5e9

View File

@ -2036,7 +2036,7 @@ def _check_size(size):
if len(size) != 2:
raise ValueError("Size must be a tuple of length 2")
if size[0] < 0 or size[1] < 0:
raise ValueError("Width and Height must be => 0")
raise ValueError("Width and height must be >= 0")
return True