Skip to content

Commit 4aefb79

Browse files
committed
Remove redundant call to InsenstiveSet (placeholders are already of this type)
1 parent 6a55f26 commit 4aefb79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/utils/templates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ def placeholders(self):
317317

318318
def index_of_placeholder(self, placeholder):
319319
with suppress(KeyError):
320-
return InsensitiveSet(self.all_placeholders).index(placeholder)
320+
return self.all_placeholders.index(placeholder)
321321
return math.inf
322322

323323

0 commit comments

Comments
 (0)