Commit 2c08770c authored by Thibault Saunier's avatar Thibault Saunier 🌵

python: Add a better asset __repr__

parent a5fa2c35
......@@ -86,6 +86,14 @@ class Container(GES.Container):
Container = override(Container)
__all__.append('Container')
class Asset(GES.Asset):
def __repr__(self):
return "%s(%s)" % (super().__repr__(), self.props.id)
Asset = override(Asset)
__all__.append('Asset')
try:
from gi.repository import Gst
Gst
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment