diff --git a/hooks/conan-center.py b/hooks/conan-center.py index b1c44cd7..8cdbaef5 100644 --- a/hooks/conan-center.py +++ b/hooks/conan-center.py @@ -883,7 +883,7 @@ def test(out): @run_test("KB-H070", output) def test(out): # Don't enforce it for applications - if getattr(conanfile, package_type, None) == "application": + if getattr(conanfile, "package_type", None) == "application": return settings = getattr(conanfile, "settings", None) if settings: