fix assertion
This commit is contained in:
parent
0e6ac39ee1
commit
6705354e57
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue