Check both file existence AND size > 0 before opening in r+ mode. Previously, an empty file (0 bytes) would be opened in r+ mode, causing json.load() to fail on the empty content. Resolves #7 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
161 KiB
161 KiB