0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 17:53:51 +01:00

Except truthy values

This commit is contained in:
Erik Johnston 2016-01-19 14:22:02 +00:00
parent 05f78b3b52
commit 7ecd211163

View file

@ -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