Add missing export extensions to export_by_extension

This commit is contained in:
Miguel Jacq 2025-11-07 09:14:26 +11:00
parent b5563c18a4
commit 71b6ee2651
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,7 @@
# 0.1.11
* Add missing export extensions to export_by_extension
# 0.1.10.2
* Fix for code blocks in dark mode

View file

@ -480,6 +480,10 @@ class DBManager:
self.export_txt(entries, file_path)
elif ext in {".html", ".htm"}:
self.export_html(entries, file_path)
elif ext in {".sql", ".sqlite"}:
self.export_sql(file_path)
elif ext == ".md":
self.export_markdown(file_path)
else:
raise ValueError(f"Unsupported extension: {ext}")