Skip to content

Commit bd8fc6e

Browse files
authored
fix lint error (#159)
1 parent 5c9391e commit bd8fc6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/taghints.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@
302302

303303

304304
# Sort the hints by key
305-
_TAG_HINTS = dict(sorted(_TAG_HINTS.items()))
305+
_TAG_HINTS_SORTED = dict(sorted(_TAG_HINTS.items()))
306306
# convert into proper objects
307307
TAG_HINTS: Dict[str, TagHint] = {
308308
key: TagHint(
@@ -313,7 +313,7 @@
313313
inline_keyboard=InlineKeyboardMarkup(value["buttons"]) if "buttons" in value else None,
314314
group_command=value.get("group_command", False),
315315
)
316-
for key, value in _TAG_HINTS.items()
316+
for key, value in _TAG_HINTS_SORTED.items()
317317
}
318318
TAG_HINTS_PATTERN = re.compile(
319319
# case insensitive

0 commit comments

Comments
 (0)