From c4ce3cf4c21934b60e13507a0c7ca66525d87200 Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Sun, 16 Oct 2011 13:44:22 -0400 Subject: [PATCH] Don't crash on empty render(times) --- cuburn/render.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cuburn/render.py b/cuburn/render.py index 717a24e..423bd58 100644 --- a/cuburn/render.py +++ b/cuburn/render.py @@ -211,6 +211,8 @@ class Animation(object): between window refreshes while rendering. Otherwise, tasks will be piled asynchronously on the card so that it is always under load. """ + if times == []: + return f = self.features