Record in the proper location
authorEnrico Zini <enrico@enricozini.org>
Mon, 15 Jun 2009 16:02:10 +0000 (00:02 +0800)
committerEnrico Zini <enrico@enricozini.org>
Mon, 15 Jun 2009 16:02:10 +0000 (00:02 +0800)
plugins/60_audio_notes.py

index 91f015e2a9c52856ccc1e3af94684dcec2476ffa..66b0d493cec23cfcc63a56426d21234ec59fa079 100644 (file)
@@ -30,10 +30,9 @@ class AudioNotes(gtk.ToggleAction):
             self.stop()
 
     def start(self):
-        zavai.info("Audio note started")
-
         name = time.strftime("%Y-%m-%d-%H-%M-%S", time.localtime())
-        os.path.join(self.registry.resource("conf").homedir, name + ".wav")
+        name = os.path.join(self.registry.resource("conf").homedir, name + ".wav")
+        zavai.info("Audio note started on", name)
         self.recorder.start(name)
 
     def stop(self):