mirror of
https://github.com/blw1138/Zordon.git
synced 2025-12-17 16:58:12 +00:00
Misc Cleanup
This commit is contained in:
@@ -41,7 +41,6 @@ class RenderJob:
|
||||
|
||||
def json(self):
|
||||
"""Converts RenderJob into JSON-friendly dict"""
|
||||
import numbers
|
||||
job_dict = None
|
||||
try:
|
||||
job_dict = self.__dict__.copy()
|
||||
@@ -91,6 +90,9 @@ class RenderJob:
|
||||
def frame_count(self):
|
||||
return self.worker.total_frames
|
||||
|
||||
def work_path(self):
|
||||
return os.path.dirname(self.worker.output_path)
|
||||
|
||||
def file_list(self):
|
||||
job_dir = os.path.dirname(self.worker.output_path)
|
||||
return glob.glob(os.path.join(job_dir, '*'))
|
||||
|
||||
Reference in New Issue
Block a user