Typo fix.
authorFredrik Tolf <fredrik@dolda2000.com>
Tue, 20 Mar 2018 22:48:12 +0000 (23:48 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Tue, 20 Mar 2018 22:48:12 +0000 (23:48 +0100)
didex/values.py

index ddb8285..debd29e 100644 (file)
@@ -133,7 +133,7 @@ class multi(descbase):
 
     def loaded(self, id, obj, tx):
         vals = frozenset(self.__get__(obj, None))
-        tx.postcommit(lambda: self.store.icache.__setitem__((obj, self), val))
+        tx.postcommit(lambda: self.store.icache.__setitem__((obj, self), vals))
 
 class compound(base):
     def __init__(self, indextype, name, *parts):