fix(nuke: removing annoying message window

happened every time log.error happened
This commit is contained in:
Jakub Jezek 2020-01-28 15:06:48 +01:00
parent 8b014bcb23
commit b0da1c9013
No known key found for this signature in database
GPG key ID: C4B96E101D2A47F3
12 changed files with 133 additions and 91 deletions

View file

@ -1,4 +1,5 @@
from avalon import api
import nuke
class MatchmoveLoader(api.Loader):
@ -19,6 +20,8 @@ class MatchmoveLoader(api.Loader):
exec(open(self.fname).read())
else:
self.log.error("Unsupported script type")
msg = "Unsupported script type"
self.log.error(msg)
nuke.message(msg)
return True