diff --git a/CHANGELOG.md b/CHANGELOG.md index c236ffb..e2f6412 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,6 @@ * Add + button to time log widget in side bar to have a simplified log entry dialog (without summary or report option) * Allow click-and-drag mouse select on lines with checkbox, to capture the checkbox as well as the text. * Allow changing the date when logging time (rather than having to go to that date before clicking on adding time log/opening time log manager) - * Ensure time log reports have an extension # 0.5.4 diff --git a/bouquin/time_log.py b/bouquin/time_log.py index bf45680..7e6ebfa 100644 --- a/bouquin/time_log.py +++ b/bouquin/time_log.py @@ -1076,8 +1076,6 @@ class TimeReportDialog(QDialog): ) if not filename: return - if not filename.endswith(".csv"): - filename = f"{filename}.csv" try: with open(filename, "w", newline="", encoding="utf-8") as f: @@ -1126,8 +1124,6 @@ class TimeReportDialog(QDialog): ) if not filename: return - if not filename.endswith(".pdf"): - filename = f"{filename}.pdf" # ---------- Build chart image (hours per period) ---------- per_period_minutes: dict[str, int] = defaultdict(int) diff --git a/pyproject.toml b/pyproject.toml index 3cbdafc..d1f9798 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "bouquin" -version = "0.5.5" +version = "0.5.4" description = "Bouquin is a simple, opinionated notebook application written in Python, PyQt and SQLCipher." authors = ["Miguel Jacq "] readme = "README.md"