Skip to content

Commit a1d511f

Browse files
committed
ocr config access fix
1 parent d054feb commit a1d511f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/idp_common_pkg/idp_common/ocr/service.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,7 @@ def __init__(
112112
# Extract enhanced features (type-safe access)
113113
features_config = self.config.ocr.features
114114
if features_config:
115-
self.enhanced_features = [
116-
feature["name"] for feature in features_config
117-
]
115+
self.enhanced_features = [feature.name for feature in features_config]
118116
else:
119117
self.enhanced_features = False
120118

0 commit comments

Comments
 (0)