From 6705354e57ed6d41b73d849c1d321339cc68b632 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Mon, 8 Feb 2021 23:24:48 -0500 Subject: [PATCH] fix assertion --- archivebox/index/schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/index/schema.py b/archivebox/index/schema.py index fa5895ae..1ca4e801 100644 --- a/archivebox/index/schema.py +++ b/archivebox/index/schema.py @@ -59,7 +59,7 @@ class ArchiveResult: # TODO: replace emptystrings in these three with None / remove them from the DB assert self.pwd is None or isinstance(self.pwd, str) assert self.cmd_version is None or isinstance(self.cmd_version, str) - assert self.output is None or (isinstance(self.output, (str, Exception)) + assert self.output is None or isinstance(self.output, (str, Exception)) @classmethod def guess_ts(_cls, dict_info):