Fix item -> items() bug in command_stack.py (now loaded curve playlist serialization...
authorW. Trevor King <wking@drexel.edu>
Sat, 21 Aug 2010 18:40:03 +0000 (14:40 -0400)
committerW. Trevor King <wking@drexel.edu>
Sat, 21 Aug 2010 18:40:03 +0000 (14:40 -0400)
hooke/command_stack.py

index 4d5cd01f0aeec343c584c43991e27d55d46369ae..319d354fe6dc103dfa323a866e9acda50c9e2585 100644 (file)
@@ -226,7 +226,7 @@ class FileCommandStack (CommandStack):
 
     def __setstate__(self, state):
         self.name = self.path = None
-        for key,value in state.items:
+        for key,value in state.items():
             setattr(self, key, value)
         self.set_path(state.get('path', None))