X-Git-Url: http://git.tremily.us/?p=hooke.git;a=blobdiff_plain;f=hooke%2Fcommand_stack.py;fp=hooke%2Fcommand_stack.py;h=319d354fe6dc103dfa323a866e9acda50c9e2585;hp=4d5cd01f0aeec343c584c43991e27d55d46369ae;hb=37cb746c56fc831c2db1d3a2867678a17520bf08;hpb=07d84098df5efe5db97461a0568c813f634ea117 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))