From f407cb35bf9b29c7d860af275fecc9fc06097ba1 Mon Sep 17 00:00:00 2001 From: Luna Mendes Date: Sun, 18 Nov 2018 18:20:18 -0300 Subject: [PATCH] images: fix always_icon comparison --- litecord/images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litecord/images.py b/litecord/images.py index bb307a6..d2e330e 100644 --- a/litecord/images.py +++ b/litecord/images.py @@ -140,7 +140,7 @@ def _gen_update_sql(scope: str) -> str: def _invalid(kwargs: dict): """Send an invalid value.""" - if kwargs.get('always_icon', False): + if not kwargs.get('always_icon', False): return None return Icon(None, None, '')