parent
1463c9ab01
commit
67d24e8b00
|
@ -39,6 +39,7 @@ class KiCadPyShell(KiCadEditorNotebookFrame):
|
||||||
KiCadEditorNotebookFrame.__init__(self, parent)
|
KiCadEditorNotebookFrame.__init__(self, parent)
|
||||||
|
|
||||||
def _setup_startup(self):
|
def _setup_startup(self):
|
||||||
|
if self.config_dir != "":
|
||||||
"""Initialise the startup script."""
|
"""Initialise the startup script."""
|
||||||
# Create filename for startup script.
|
# Create filename for startup script.
|
||||||
self.startup_file = os.path.join(self.config_dir,
|
self.startup_file = os.path.join(self.config_dir,
|
||||||
|
@ -65,6 +66,9 @@ class KiCadPyShell(KiCadEditorNotebookFrame):
|
||||||
default_startup.close()
|
default_startup.close()
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
else:
|
||||||
|
self.startup_file = ""
|
||||||
|
self.execStartupScript = False
|
||||||
|
|
||||||
def _setup(self):
|
def _setup(self):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue