mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-20 21:32:06 +02:00
fix assertion
This commit is contained in:
@@ -59,7 +59,7 @@ class ArchiveResult:
|
|||||||
# TODO: replace emptystrings in these three with None / remove them from the DB
|
# 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.pwd is None or isinstance(self.pwd, str)
|
||||||
assert self.cmd_version is None or isinstance(self.cmd_version, 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
|
@classmethod
|
||||||
def guess_ts(_cls, dict_info):
|
def guess_ts(_cls, dict_info):
|
||||||
|
Reference in New Issue
Block a user