Hello guys,
soemtimes I add a line to a module and then I get a "IndentationError:
unindent does not match any outer indentation level". I know what that
means, problem is I dont see the error. I checked the indents,
everything is correct. When I copy/paste it into nuke, it executes just
fine.
The piece of code which errors looks like this:
def function(node, expression):
/node['read_from_file'].setValue(0)/
*for k in node.knobs():*
if node[k].visible() and node[k].isAnimated():
node[k].setExpression(expression)
return
the bold line is the one nuke says is wrong. Sometimes it is not the
code flagged that is wrong, but before that just another function
definition occurs which looks fine.
It worked before, the only thing I added was the line in italics.
It happens from time to time. I used notepad++ and pycharm to check for
mistakes, but was not able to come up with a fix.
Cheers,
Igor
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python