From f95fc3db6e9d32334004962d7e0525ff9a7054db Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 7 Feb 2014 07:23:18 +0000 Subject: [PATCH] allow adding 0 frame clips --- pandora/edit/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/edit/models.py b/pandora/edit/models.py index d3a5138cd..06939dc88 100644 --- a/pandora/edit/models.py +++ b/pandora/edit/models.py @@ -81,7 +81,7 @@ class Edit(models.Model): # dont add clip if in/out are invalid if not clip.annotation: duration = clip.item.sort.duration - if clip.start >= clip.end or clip.start >= duration or clip.end > duration: + if clip.start > clip.end or clip.start >= duration or clip.end > duration: return False clip.save() ids.insert(index, clip.id)