From cd66b9a67c7b3e5bc8503a6dd15ad7b06658c070 Mon Sep 17 00:00:00 2001 From: yomguy Date: Tue, 15 Jan 2013 11:01:50 +0100 Subject: [PATCH] fix no markers --- telemeta/util/kdenlive/session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telemeta/util/kdenlive/session.py b/telemeta/util/kdenlive/session.py index ce0363d4..2b726acf 100644 --- a/telemeta/util/kdenlive/session.py +++ b/telemeta/util/kdenlive/session.py @@ -68,7 +68,7 @@ class KDEnLiveSession(object): for attr in self.session['children']: if 'kdenlivedoc' in attr['name']: for att in attr['children']: - if 'markers' in att['name']: + if 'markers' in att['name'] and 'children' in att.keys(): for at in att['children']: if 'marker' in at['name']: time = float(at['attributes']['time'].replace(',','.')) - first_frame_seconds -- 2.39.5