From cf88518e6d25ef036723d4ff41a118051cc1e9b7 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Sun, 8 Jun 2014 09:30:41 +0300 Subject: Start refactoring --- client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client.py b/client.py index 507e149..721d510 100644 --- a/client.py +++ b/client.py @@ -40,7 +40,8 @@ class LightLoopClient(object): raw_data = '' for frame in zip(*self.composition): print frame - sequences = zip(*[zip(*self.sequences[seq]) for seq in frame]) + sequences = [zip(*self.sequences[seq]) for seq in frame] + sequences = zip(*sequences) raw_data += ''.join([''.join([''.join(y) for y in x]) for x in sequences]) print raw_data -- cgit v1.3.1