images: fix always_icon comparison

This commit is contained in:
Luna Mendes 2018-11-18 18:20:18 -03:00
parent 53afe46774
commit f407cb35bf
1 changed files with 1 additions and 1 deletions

View File

@ -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, '')