fix: don't extract icon names

This commit is contained in:
barredterra 2024-04-29 11:41:19 +02:00
parent 530aaaec26
commit b530de4098

View file

@ -3,6 +3,7 @@ import json
EXCLUDE_SELECT_OPTIONS = [
"naming_series",
"number_format",
"icon", # primarily for the Workflow State doctype
]
@ -52,9 +53,6 @@ def extract(fileobj, *args, **kwargs):
select_options = [option for option in message.split("\n") if option and not option.isdigit()]
if select_options and "icon" in select_options[0]:
continue
messages.extend(
(
option,