mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 02:08:08 +02:00
handling node deletion in status update
This commit is contained in:
parent
0b1c0b028a
commit
cdf74fc8c5
1 changed files with 5 additions and 2 deletions
|
@ -109,8 +109,11 @@ class FilesModTimePollerThread(QObject):
|
|||
def updatePluginEnvStatus(n):
|
||||
""" Will update the status of the plugin env """
|
||||
if n.nodeDesc is not None:
|
||||
n.isEnvBuild=n.nodeDesc.isBuilt
|
||||
n.buildStatusChanged.emit()
|
||||
try:
|
||||
n.isEnvBuild=n.nodeDesc.isBuilt
|
||||
n.buildStatusChanged.emit()
|
||||
except Exception as E:
|
||||
logging.warn("Plugin status update failed, node may be already deleted")
|
||||
|
||||
def run(self):
|
||||
""" Poll watched files for last modification time. """
|
||||
|
|
Loading…
Add table
Reference in a new issue