Skip to content

Commit 2842dd4

Browse files
committed
fix format in case jobID is None
1 parent 4a583cf commit 2842dd4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

simprod/simjob/simjob.py

+3
Original file line numberDiff line numberDiff line change
@@ -1736,6 +1736,9 @@ def __str__(self):
17361736
p_job = "{n:{fill}{al}{w}} ".format(
17371737
w=(len(h_job) - 1), al=">", fill="", n=n
17381738
)
1739+
1740+
if not jobID:
1741+
jobID = "None"
17391742

17401743
p_jobID = "{n:{fill}{al}{w}} ".format(
17411744
w=(len(h_jobID) - 1), al=">", fill="", n=jobID

0 commit comments

Comments
 (0)