mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-28 16:36:32 +02:00
[ui] update condition on node start time computation
This commit is contained in:
parent
a5de8b86dc
commit
a21a1c9962
1 changed files with 2 additions and 3 deletions
|
@ -810,9 +810,8 @@ class BaseNode(BaseObject):
|
|||
@Slot(result=str)
|
||||
def getStartDateTime(self):
|
||||
""" Return the date (str) of the first running chunk """
|
||||
if not self.isAlreadySubmittedOrFinished() or len(self._chunks) == 0:
|
||||
return ""
|
||||
dateTime = [chunk._status.startDateTime for chunk in self._chunks if chunk._status.startDateTime != ""]
|
||||
dateTime = [chunk._status.startDateTime for chunk in self._chunks if chunk._status.status
|
||||
not in (Status.NONE, Status.SUBMITTED) and chunk._status.startDateTime != ""]
|
||||
return min(dateTime) if len(dateTime) != 0 else ""
|
||||
|
||||
def isAlreadySubmitted(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue