diff --git a/art/functions.py b/art/functions.py index 4f4ba8b7..294ba73a 100644 --- a/art/functions.py +++ b/art/functions.py @@ -278,7 +278,7 @@ def line(length=15, height=1, char='#'): raise artError(HEIGHT_TYPE_ERROR) if not isinstance(char, str) or len(char) != 1: raise artError(CHAR_TYPE_ERROR) - + if length < 1: raise artError(LENGTH_RANGE_ERROR) if height < 1: