Skip to content

Commit 0aea5ed

Browse files
committed
fix handling of skipped ArchiveResult entries with null output
1 parent b90afc8 commit 0aea5ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

archivebox/core/migrations/0007_archiveresult.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def forwards_func(apps, schema_editor):
3737
for extractor in history:
3838
for result in history[extractor]:
3939
ArchiveResult.objects.create(extractor=extractor, snapshot=snapshot, cmd=result["cmd"], cmd_version=result["cmd_version"] or 'unknown',
40-
start_ts=result["start_ts"], end_ts=result["end_ts"], status=result["status"], pwd=result["pwd"], output=result["output"])
40+
start_ts=result["start_ts"], end_ts=result["end_ts"], status=result["status"], pwd=result["pwd"], output=result["output"] or 'null')
4141

4242

4343
def verify_json_index_integrity(snapshot):

0 commit comments

Comments
 (0)