AcademySoftwareFoundation / OpenCue

A render management system you can deploy for visual effects and animation productions.
https://www.opencue.io
Apache License 2.0
832 stars 202 forks source link

[cuegui] Fix TypeError in Comment viewer: Handle job object as iterable #1542

Closed ramonfigueiredo closed 1 month ago

ramonfigueiredo commented 1 month ago
ramonfigueiredo commented 1 month ago

This code fixes the error due to an issue where the code expects the jobs object to be iterable, but a single Job object is being passed, resulting in a TypeError. The fix ensures that when a single Job object is passed, it is wrapped in a list to make it iterable.