Skip to content

Commit

Permalink
sweep: DIRACGrid#7378 fix(JobStateUpdate): for staging, make sure the…
Browse files Browse the repository at this point in the history
… jobID is an integer
  • Loading branch information
andresailer authored and web-flow committed Dec 20, 2023
1 parent e5db28f commit 217af0b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def export_updateJobFromStager(cls, jobID, status):
infoStr = None
trials = 10
for i in range(trials):
result = cls.jobDB.getJobAttributes(jobID, ["Status"])
result = cls.jobDB.getJobAttributes(int(jobID), ["Status"])
if not result["OK"]:
return result
if not result["Value"]:
Expand Down

0 comments on commit 217af0b

Please sign in to comment.