From: W. Trevor King Date: Sat, 21 Aug 2010 18:40:03 +0000 (-0400) Subject: Fix item -> items() bug in command_stack.py (now loaded curve playlist serialization... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=37cb746c56fc831c2db1d3a2867678a17520bf08;p=hooke.git Fix item -> items() bug in command_stack.py (now loaded curve playlist serialization works!) --- diff --git a/hooke/command_stack.py b/hooke/command_stack.py index 4d5cd01..319d354 100644 --- a/hooke/command_stack.py +++ b/hooke/command_stack.py @@ -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))