Skip to content

Commit 0f1c0a5

Browse files
authored
fix: account for missing tfin (#582)
1 parent e0add15 commit 0f1c0a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

panos/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5157,7 +5157,7 @@ def _parse_job_results(self, show_job_xml, get_devices=True):
51575157
"name": device["devicename"],
51585158
"result": device["result"],
51595159
"starttime": device["tstart"],
5160-
"endtime": device["tfin"],
5160+
"endtime": device.get("tfin"),
51615161
}
51625162
# Errors and warnings might not have a full structure. If it is just a string, then
51635163
# a TypeError will be produced, so in that case, just grab the string.

0 commit comments

Comments
 (0)