From: yomguy Date: Thu, 7 Feb 2013 14:23:25 +0000 (+0100) Subject: cleanup X-Git-Tag: 1.4.5~46^2 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=aa3074713659f3c8a63234cda6f369edfc1f9dde;p=telemeta.git cleanup --- diff --git a/telemeta/util/kdenlive/session.py b/telemeta/util/kdenlive/session.py index 98d9dc53..f76f9d1e 100644 --- a/telemeta/util/kdenlive/session.py +++ b/telemeta/util/kdenlive/session.py @@ -112,13 +112,11 @@ class KDEnLiveSession(object): def markers_relative(self, offset=0): markers = [] entries = self.entries_video_seconds() - print entries for attr in self.session['children']: if 'kdenlivedoc' in attr['name']: for att in attr['children']: if 'markers' in att['name'] and 'children' in att.keys(): for at in att['children']: - if 'marker' in at['name']: rel_time = float(at['attributes']['time'].replace(',','.')) id = at['attributes']['id'] @@ -127,7 +125,6 @@ class KDEnLiveSession(object): for entry in entries: if rel_time > entry['in'] and rel_time < entry['out'] and id == entry['id']: abs_time = entry['t'] + (rel_time - entry['in']) - print abs_time break at['attributes']['time'] = abs_time