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 4d5cd01..319d354 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))