diff --git a/gui/Scyther/Scyther.py b/gui/Scyther/Scyther.py index 79e6d2d..b592f55 100755 --- a/gui/Scyther/Scyther.py +++ b/gui/Scyther/Scyther.py @@ -24,7 +24,7 @@ bindir="." #--------------------------------------------------------------------------- -def init(dir): +def setBinDir(dir): global bindir bindir = dir diff --git a/gui/Scyther/__init__.py b/gui/Scyther/__init__.py index ece72c2..7e32c73 100644 --- a/gui/Scyther/__init__.py +++ b/gui/Scyther/__init__.py @@ -6,4 +6,4 @@ # import Scyther -Scyther.init(__path__[0]) +Scyther.setBinDir(__path__[0]) diff --git a/gui/scyther-gui.py b/gui/scyther-gui.py index 8d4edbb..d68a09e 100755 --- a/gui/scyther-gui.py +++ b/gui/scyther-gui.py @@ -82,9 +82,9 @@ class ScytherApp(wx.App): # Load preferences file Preference.init() - # Init Scyther libs + # Init Scyther libs from preferences bindir = Preference.get("bindir",os.path.join(basedir,"Scyther")) - Scyther.init(bindir) + Scyther.setBinDir(bindir) """ Create and show the splash screen. It will then create and show