From 9fa521a3ac5924afdf4668d34553511f095cf047 Mon Sep 17 00:00:00 2001 From: Sourcery AI Date: Sat, 11 Feb 2023 19:03:22 +0000 Subject: [PATCH] 'Refactored by Sourcery' --- ascii_py/ascii_py.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ascii_py/ascii_py.py b/ascii_py/ascii_py.py index 5128afc..ea66c53 100644 --- a/ascii_py/ascii_py.py +++ b/ascii_py/ascii_py.py @@ -77,9 +77,7 @@ def density_artify(self, step: int = 7): a less bright pixel will have a character with high visual density. """ - if step < 7: - step = 7 - + step = max(step, 7) h = 0 w = 0