CSV export: path column now contains directory only
Filename was duplicated in both columns; trimmed the basename off path. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -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"],
|
||||
|
||||
2
debian/build-deb.sh
vendored
2
debian/build-deb.sh
vendored
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user