Flesh out command stack execution.
[hooke.git] / hooke / plugin / note.py
index b982075daa17cab895d8a63204b9d1d6a25417d9..0d0bada88aa05104c13068d5ff7408c7db76c1cb 100644 (file)
@@ -77,7 +77,7 @@ Target object for the note.  Defaults to the current curve.
             help=self.__doc__, plugin=plugin)
 
     def _run(self, hooke, inqueue, outqueue, params):
-        outqueue.put(params['target'].info['note'])
+        outqueue.put(params['target'].info.get('note', None))
 
 
 class NoteFilterCommand (FilterCommand):