Closed LauLauThom closed 6 years ago
Thanks @Jindil for the contribution. I wish we could have fixed https://github.com/scijava/scripting-jython/issues/9 instead of implementing this workaround, but at least this makes the template scripts functional again.
@m-entrup for the future, in order to keep the commit history clean, we can squash commits like these three here into a single one before merging.
Contrary to a normal python installation,
__name__
is not always equal to__main__
but instead__builtin__
. This workaround was reported here and there.