From 62a5b63d893466ed674d4f7aaa24f02e634aee9f Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Thu, 15 Aug 2024 19:03:56 +0200 Subject: [PATCH] . --- slate/slate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slate/slate.py b/slate/slate.py index b1061e5..9b4af06 100644 --- a/slate/slate.py +++ b/slate/slate.py @@ -504,7 +504,7 @@ def insert_deep_dictionary(d: MutableMapping, t: tuple, value): def append_deep_dictionary(d: MutableMapping, t: tuple, value): if type(t) is tuple: - if len(t) is 1: + if len(t) == 1: if t[0] not in d: d[t[0]] = [] d[t[0]].append(value)