Final code review fix: simplify error message construction in __init__.py
Co-authored-by: Askill <16598120+Askill@users.noreply.github.com>
This commit is contained in:
parent
73f1c00e74
commit
3ef5489c05
|
|
@ -28,7 +28,7 @@ except ImportError as e:
|
|||
import warnings
|
||||
|
||||
warnings.warn(
|
||||
f"Video processing components could not be imported. Missing dependency: {e.name if hasattr(e, 'name') else str(e)}. "
|
||||
f"Video processing components could not be imported. Missing dependency: {str(e)}. "
|
||||
f"Install with: pip install -r requirements.txt"
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue