Open bsukhadia-fractal opened 2 months ago
After the proposed fix for our environment loading the event plugin results in the below error:
Event plugin 'deadline-balancer' could not be loaded from the repository because: Error executing event plugin script "\\deadlinesrv\DeadlineRepository10\custom\events\deadline-balancer\deadline-balancer.py": name 'DeadlineEventListener' is not defined (Deadline.Events.DeadlineEventPluginException)
deadline-balancernone:99: SyntaxWarning: "is" with a literal. Did you mean "=="?
https://github.com/nfa-vfxim/deadline-balancer/blob/f29f564f353a245ff9f2a338f9e798212c004c70/deadline-balancer.py#L99
proposing the change,
if math.ceil(percent * workers_amount) is 0:
toif math.ceil(percent * workers_amount) == 0: