Fix GStreamer pipeline source pyright import
This commit is contained in:
@@ -27,7 +27,7 @@ try:
|
||||
|
||||
gi.require_version("Gst", "1.0")
|
||||
gi.require_version("GstApp", "1.0")
|
||||
from gi.repository import Gst, GstApp
|
||||
from gi.repository import Gst, GstApp # pyright: ignore[reportAttributeAccessIssue]
|
||||
except ModuleNotFoundError as e:
|
||||
logger.error(f"Exception: {e}")
|
||||
logger.error(
|
||||
|
||||
Reference in New Issue
Block a user