fixed illegal access to second status when first call fails

This commit is contained in:
dcore94 2021-09-13 17:15:51 +02:00
parent 582defe816
commit 06d23c6406
1 changed files with 1 additions and 0 deletions

View File

@ -97,6 +97,7 @@ class Plugin(PyExecPlugin):
def execute(self):
self.doRequest1()
status1 = self.computeStatus(self.ep1, self.response1)
status2 = "FAILED"
if status1 == "COMPLETED":
self.doRequest2()
status2 = self.computeStatus(self.ep2, self.response2)