mirror of https://gitlab.com/litecord/litecord.git
images: fix always_icon comparison
This commit is contained in:
parent
53afe46774
commit
f407cb35bf
|
|
@ -140,7 +140,7 @@ def _gen_update_sql(scope: str) -> str:
|
||||||
|
|
||||||
def _invalid(kwargs: dict):
|
def _invalid(kwargs: dict):
|
||||||
"""Send an invalid value."""
|
"""Send an invalid value."""
|
||||||
if kwargs.get('always_icon', False):
|
if not kwargs.get('always_icon', False):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
return Icon(None, None, '')
|
return Icon(None, None, '')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue