diff --git a/cli/utils.py b/cli/utils.py index 7cde1e5e..9acf3cab 100644 --- a/cli/utils.py +++ b/cli/utils.py @@ -8,7 +8,7 @@ # Optional YAML support try: import yaml # type: ignore -except Exception: +except ImportError: yaml = None # type: ignore from app.compiler import (