summaryrefslogtreecommitdiff
path: root/opencode
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-31 23:17:53 +0300
committerPaul Buetow <paul@buetow.org>2026-03-31 23:17:53 +0300
commit2b64fcebf8ef0425575eafa452caae2450a8c7d3 (patch)
treed013691c13c9bf91d8f122b7b403741e643b77ff /opencode
parent415e12a61f0270ae7048b2e79ad04cb02ea58baa (diff)
immich-export: fix null nextPage causing silent exit on last page
When the API returns null for nextPage, Python's .get('nextPage','') still returns None (key exists), and print(None) yields "None" — a non-empty string. The loop then tried to fetch page "None", curl failed, and set -e killed the script silently. Use 'or ""' to coerce None to empty string. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'opencode')
0 files changed, 0 insertions, 0 deletions