From 0da48e157c538360fa65e0c6ce074b7e851f0630 Mon Sep 17 00:00:00 2001 From: Enrico Zini Date: Tue, 16 Jun 2009 00:02:10 +0800 Subject: [PATCH] Record in the proper location --- plugins/60_audio_notes.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/60_audio_notes.py b/plugins/60_audio_notes.py index 91f015e..66b0d49 100644 --- a/plugins/60_audio_notes.py +++ b/plugins/60_audio_notes.py @@ -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): -- 2.39.5