mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Except truthy values
This commit is contained in:
parent
05f78b3b52
commit
7ecd211163
@ -131,7 +131,7 @@ def _condition_checker(evaluator, conditions, uid, display_name, cache):
|
|||||||
if _id:
|
if _id:
|
||||||
cache[_id] = res
|
cache[_id] = res
|
||||||
|
|
||||||
if res is False:
|
if not res:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user