diff --git a/app/main.py b/app/main.py index 23598ce..4cecf05 100644 --- a/app/main.py +++ b/app/main.py @@ -705,9 +705,12 @@ def export_csv(): return v for r in rows: + # path column = directory only; filename has the basename already + full = r["path"] or "" + dir_only = full.rsplit("/", 1)[0] if "/" in full else "" writer.writerow([ r["group_id"], r["method"], r["file_id"], - _clean(r["path"]), _clean(r["filename"]), r["file_size"], + _clean(dir_only), _clean(r["filename"]), r["file_size"], r["width"], r["height"], _clean(r["exif_datetime"]), _clean(r["exif_device"]), r["is_keeper"], r["is_redundant"], r["reviewed"], diff --git a/debian/build-deb.sh b/debian/build-deb.sh index 91f085d..1fd5f53 100644 --- a/debian/build-deb.sh +++ b/debian/build-deb.sh @@ -13,7 +13,7 @@ BUILD_DIR="$REPO_ROOT/build/deb" # ── Config ──────────────────────────────────────────────────────────────────── PKG_NAME="dupfinder" -PKG_VERSION="1.0.6" +PKG_VERSION="1.0.7" PKG_ARCH="amd64" DEB_FILE="${PKG_NAME}_${PKG_VERSION}_${PKG_ARCH}.deb"