diff --git a/src/pyvtt/voice_to_text_tray.py b/src/pyvtt/voice_to_text_tray.py index e38f4aa..c588c1b 100755 --- a/src/pyvtt/voice_to_text_tray.py +++ b/src/pyvtt/voice_to_text_tray.py @@ -96,7 +96,7 @@ class WhisperWorker(QThread): print("Kein Ollama Prompt angegeben, nur Whisper Ergebnis verwendet.") # Ergebnis ins Clipboard kopieren - if CURRENT_PRESET["mode"] == "journal": + if CURRENT_PRESET.get("mode") == "journal": today = datetime.date.today().strftime("%Y.%m.%d") journal_path = os.path.join(CONFIGURATION["journal_path"], f"{today} - {CURRENT_PRESET['journal_name']}.md") now = datetime.datetime.now().strftime("%H:%M:%S")