mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
python: Fix trying to call len() on an int
n_tags already represents the len of the TagList Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6012>
This commit is contained in:
parent
3321851786
commit
f12a15a374
1 changed files with 1 additions and 1 deletions
|
@ -661,7 +661,7 @@ class TagList(Gst.TagList):
|
|||
return map(lambda k: (k, Gst.TagList.copy_value(self, k)[1]), self.keys())
|
||||
|
||||
def __len__(self):
|
||||
return len(self.n_tags())
|
||||
return self.n_tags()
|
||||
|
||||
def __str__(self):
|
||||
return self.to_string()
|
||||
|
|
Loading…
Reference in a new issue