From 1b3024d3ee2664adc2d299a6b14145ced3342633 Mon Sep 17 00:00:00 2001 From: Diego Tavares da Silva Date: Mon, 29 Jan 2024 10:49:44 -0800 Subject: [PATCH] Update MonitorJobsPlugin.py --- cuegui/cuegui/plugins/MonitorJobsPlugin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cuegui/cuegui/plugins/MonitorJobsPlugin.py b/cuegui/cuegui/plugins/MonitorJobsPlugin.py index d0215fd34..890ec3b4f 100644 --- a/cuegui/cuegui/plugins/MonitorJobsPlugin.py +++ b/cuegui/cuegui/plugins/MonitorJobsPlugin.py @@ -204,10 +204,10 @@ def _regexLoadJobsHandle(self): # If a uuid is provided, load it self.jobMonitor.addJob(substring) elif load_finished_jobs or re.search( - r"^([a-z0-9_]+)\-([a-z0-9\.]+)\-", substring, re.IGNORECASE): - # If show and shot is provided, or if "load finished" checkbox is checked, load all jobs + r"^([a-z0-9_]+)\-([a-z0-9\.]+)\-", substring, re.IGNORECASE): + # Load all ff show and shot is provided or if "load finished" checkbox is checked for job in opencue.api.getJobs(regex=[substring], include_finished=True): - self.jobMonitor.addJob(job) + self.jobMonitor.addJob(job) else: # Otherwise, just load current matching jobs (except for the empty string) for job in opencue.api.getJobs(regex=[substring]):