diff --git a/conanfile.py b/conanfile.py index 95bded47..3d9f165a 100644 --- a/conanfile.py +++ b/conanfile.py @@ -239,7 +239,7 @@ class MPUnitsConan(ConanFile): raise ConanInvalidConfiguration( "'contracts' should be set to 'none' to use `import std;`" ) - if not self.options.std_format: + if not self.options.get_safe("std_format", default=True): raise ConanInvalidConfiguration( "'std_format' should be enabled to use `import std;`" )