summaryrefslogtreecommitdiff
path: root/client.py
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2014-06-08 09:30:41 +0300
committerYuval Adam <yuv.adm@gmail.com>2014-06-08 09:30:41 +0300
commitcf88518e6d25ef036723d4ff41a118051cc1e9b7 (patch)
treef60a0a2abcbce34923f7854d885cdebbd2543900 /client.py
parentb96cff07e6e9915980d3c924e60fe92d9739f142 (diff)
Start refactoring
Diffstat (limited to 'client.py')
-rw-r--r--client.py3
1 files changed, 2 insertions, 1 deletions
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