Compare commits

..

2 Commits

Author SHA1 Message Date
7719cf429d chore: bump version to 0.3.3
All checks were successful
Build and Publish / build-and-publish (push) Successful in 16s
Signed-off-by: Max P. <Mail@MPassarello.de>
2025-04-30 15:30:54 +02:00
d7f783834f fix(voice_to_text_tray): use get() method for safer access to CURRENT_PRESET mode
Signed-off-by: Max P. <Mail@MPassarello.de>
2025-04-30 15:30:48 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
[project] [project]
name = "pyvtt" name = "pyvtt"
version = "0.3.2" version = "0.3.3"
description = "Python Voice to Text + LLMA" description = "Python Voice to Text + LLMA"
authors = [{ name = "Max P.", email = "Mail@MPassarello.de" }] authors = [{ name = "Max P.", email = "Mail@MPassarello.de" }]
license = { text = "MIT" } license = { text = "MIT" }

View File

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