mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 04:53:53 +01:00
Except truthy values
This commit is contained in:
parent
05f78b3b52
commit
7ecd211163
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ def _condition_checker(evaluator, conditions, uid, display_name, cache):
|
|||
if _id:
|
||||
cache[_id] = res
|
||||
|
||||
if res is False:
|
||||
if not res:
|
||||
return False
|
||||
|
||||
return True
|
||||
|
|
Loading…
Reference in a new issue