Skip to content

Commit

Permalink
must import sys before using it in scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferis committed Apr 16, 2015
1 parent 09ca0f2 commit ab0a218
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions About_CMTK.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from ij.gui import GenericDialog

import sys
from java.lang.System import getProperty
sys.path.append(getProperty("fiji.dir") + "/plugins/CMTK_Registration")
import cmtkgui
Expand Down
1 change: 1 addition & 0 deletions About_CMTK_GUI.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from ij.gui import GenericDialog

import sys
from java.lang.System import getProperty
sys.path.append(getProperty("fiji.dir") + "/plugins/CMTK_Registration")
import cmtkgui
Expand Down

0 comments on commit ab0a218

Please sign in to comment.