From b11e54d6d40edd71b644bad739cab69a8b1b130f Mon Sep 17 00:00:00 2001 From: Horshack Date: Sat, 29 Aug 2020 05:00:32 -0700 Subject: [PATCH] Changed RunExecutable assertexitcode from a required to optional parameter --- canomate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/canomate.py b/canomate.py index 29e7607..d158186 100644 --- a/canomate.py +++ b/canomate.py @@ -658,7 +658,7 @@ def __init__(self, paramDict): self.fAppendLastDownloadedFilenames = self.getDictValueAsBool(paramDict, 'appendlastdownloadstoargs', False) self.outputFilename = self.getDictValueAsStr(paramDict, 'outputfile', "") self.outputFileWriteMethod = self.getDictValueStrChoice(paramDict, 'writemode', ['append', 'overwrite', 'overwrite_first_time'], 'append') - self.assertExitCode = self.getDictValueAsScalar(paramDict, 'assertexitcode', None, int, fRequiredValue=True) + self.assertExitCode = self.getDictValueAsScalar(paramDict, 'assertexitcode', None, int, fRequiredValue=False) return super().__init__(paramDict) def execute(self): args = self.args