perf: 优化自定义类型的冲突

pull/10303/head
ibuler 2 years ago committed by Jiangjie.Bai
parent f85daa088f
commit a6ab886968

@ -8,7 +8,7 @@ class CustomTypes(BaseType):
platforms = list(cls.get_custom_platforms())
except Exception:
return []
types = [p.type for p in platforms]
types = set([p.type for p in platforms])
return [(t, t) for t in types]
@classmethod

Loading…
Cancel
Save