File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ class ProductFeatures(StrEnum):
205205 RoborockProductNickname .RUBYSLITE : [ProductFeatures .MOP_ELECTRONIC_MODULE ],
206206}
207207
208- product_feature_map : dict [RoborockProductNickname , list [ProductFeatures ]] = {
208+ PRODUCT_FEATURE_MAP : dict [RoborockProductNickname , list [ProductFeatures ]] = {
209209 product : (
210210 features
211211 + ([ProductFeatures .DEFAULT_CLEANMODECUSTOM ] if product not in PRODUCTS_WITHOUT_CUSTOM_CLEAN else [])
@@ -538,7 +538,7 @@ def from_feature_flags(
538538 kwargs [f .name ] = product_nickname not in blacklist
539539 elif (product_features := f .metadata .get ("product_features" )) is not None :
540540 if product_nickname is not None :
541- available_features = product_feature_map .get (product_nickname , [])
541+ available_features = PRODUCT_FEATURE_MAP .get (product_nickname , [])
542542 if any (feat in available_features for feat in product_features ): # type: ignore
543543 kwargs [f .name ] = True
544544
You can’t perform that action at this time.
0 commit comments