Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Fix - AE - added explicit cast to int #837

Merged
merged 1 commit into from
Dec 18, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@ def get_job_info(self):
dln_job_info.UserName = context.data.get(
"deadlineUser", getpass.getuser())
if self._instance.data["frameEnd"] > self._instance.data["frameStart"]:
frame_range = "{}-{}".format(self._instance.data["frameStart"],
self._instance.data["frameEnd"])
# Deadline requires integers in frame range
frame_range = "{}-{}".format(
int(round(self._instance.data["frameStart"])),
int(round(self._instance.data["frameEnd"])))
dln_job_info.Frames = frame_range

dln_job_info.ChunkSize = self.chunk_size
Expand Down