From 5843278d49da0f4c856f42328135babfffaa4529 Mon Sep 17 00:00:00 2001 From: klonfish Date: Thu, 9 Nov 2017 22:52:14 +0100 Subject: [PATCH] Fixed calls to writeBml --- generators/colormarq.py | 2 +- generators/colorwischer.py | 2 +- generators/gameOfLife.py | 2 +- generators/scroll.py | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/generators/colormarq.py b/generators/colormarq.py index bc1dc0e..34f80c8 100644 --- a/generators/colormarq.py +++ b/generators/colormarq.py @@ -20,5 +20,5 @@ for f in anim: newanim.addFrame(newframe) plasmaFrame += 1 -writebml.writeBml(newanim, '/tmp/colormarq.bml') +blup.writebml.writeBml(newanim, '/tmp/colormarq.bml') diff --git a/generators/colorwischer.py b/generators/colorwischer.py index f634098..41e92e1 100644 --- a/generators/colorwischer.py +++ b/generators/colorwischer.py @@ -35,4 +35,4 @@ for i in range(num): -writebml.writeBml(newanim, '/tmp/colorwischer.bml') +blup.writebml.writeBml(newanim, '/tmp/colorwischer.bml') diff --git a/generators/gameOfLife.py b/generators/gameOfLife.py index 3b5811d..ae04c38 100644 --- a/generators/gameOfLife.py +++ b/generators/gameOfLife.py @@ -93,4 +93,4 @@ for frame in range(500): for i in range(20): animation.addFrame(newframe) break -writebml.writeBml(animation, '/home/pi/animations/gameOfLife.bml') +blup.writebml.writeBml(animation, '/home/pi/animations/gameOfLife.bml') diff --git a/generators/scroll.py b/generators/scroll.py index cd87fe3..d8e0c3e 100755 --- a/generators/scroll.py +++ b/generators/scroll.py @@ -68,7 +68,7 @@ if __name__ == '__main__': img = Image.open(args.image) img.convert(mode='RGB') anim = scroll_image(img, args.delay, col) - writebml.writeBml(anim, args.output_file) + blup.writebml.writeBml(anim, args.output_file) ''' num = 10 @@ -92,5 +92,5 @@ for i in range(num): -writebml.writeBml(newanim, '/tmp/colorwischer.bml') +blup.writebml.writeBml(newanim, '/tmp/colorwischer.bml') '''