summaryrefslogtreecommitdiffstats
path: root/examples/lisp-esque
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-03-16 18:31:01 +0100
committerMattias Andrée <maandree@operamail.com>2014-03-16 18:31:01 +0100
commitda67a3b4652dfd8f61999e83b43896a23cc08fc5 (patch)
tree081b8bf95c2268ed1b50ed1fb762dbf21a582682 /examples/lisp-esque
parentcie_invert takes only one argument (diff)
downloadblueshift-da67a3b4652dfd8f61999e83b43896a23cc08fc5.tar.gz
blueshift-da67a3b4652dfd8f61999e83b43896a23cc08fc5.tar.bz2
blueshift-da67a3b4652dfd8f61999e83b43896a23cc08fc5.tar.xz
fix cie_invert
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'examples/lisp-esque')
-rw-r--r--examples/lisp-esque2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/lisp-esque b/examples/lisp-esque
index 0ec3551..61e1586 100644
--- a/examples/lisp-esque
+++ b/examples/lisp-esque
@@ -496,7 +496,7 @@ class CIEInvert:
def __init__(self):
self.monitors = [(False, False, False, False, False, False)]
def __call__(self, monitor, alpha):
- cie_invert(self.monitors[monitor][3 if alpha == 0 else 0])
+ cie_invert(*(self.monitors[monitor][3 if alpha == 0 else 0:][:3]))
def _invert(mods, args):
'''