diff --git a/apps/official/BiscuIT-App-Alsijil b/apps/official/BiscuIT-App-Alsijil index db488728dce004beebd5b266e406b80a4860505a..ddf4910f34c3c5063f0e4eb2ca05a03e14dffb63 160000 --- a/apps/official/BiscuIT-App-Alsijil +++ b/apps/official/BiscuIT-App-Alsijil @@ -1 +1 @@ -Subproject commit db488728dce004beebd5b266e406b80a4860505a +Subproject commit ddf4910f34c3c5063f0e4eb2ca05a03e14dffb63 diff --git a/biscuit/core/templatetags/data_helpers.py b/biscuit/core/templatetags/data_helpers.py index 5267472ba6a7d2e9588b80fcd1ec0c44ce414885..89b4e28fa8ad9eca96fc6cb0c8bd5485a8169667 100644 --- a/biscuit/core/templatetags/data_helpers.py +++ b/biscuit/core/templatetags/data_helpers.py @@ -11,7 +11,7 @@ def get_dict(value: Any, arg: Any) -> Any: if hasattr(value, str(arg)): return getattr(value, arg) - elif hasattr(value, 'has_key') and value.has_key(arg): + elif hasattr(value, 'keys') and arg in value.keys(): return value[arg] elif str(arg).isnumeric() and len(value) > int(arg): return value[int(arg)]