Skip to content

Commit 19d2f1a

Browse files
committed
Bugfix: Couple more small path issues
1 parent d29401f commit 19d2f1a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ netLogoPackageExtras += (baseDirectory.value / "src" / "pyext.py", None)
1717

1818
resolvers += "netlogo-lang-extension" at "https://dl.cloudsmith.io/public/netlogo/netlogoextensionlanguageserverlibrary/maven"
1919
libraryDependencies ++= Seq(
20-
"org.nlogo.langextension" %% "lang-extension-lib" % "0.4.0"
20+
"org.nlogo.langextension" %% "lang-extension-lib" % "0.4.1"
2121
)

src/main/ConfigDialog.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
package org.nlogo.extensions.py
22

3-
import java.awt.{BorderLayout, FileDialog, GridBagLayout, Insets, GridBagConstraints => GBC}
3+
import java.awt.{ BorderLayout, FileDialog, GridBagLayout, Insets, GridBagConstraints => GBC }
44
import java.io.File
5-
import javax.swing.{BorderFactory, JButton, JDialog, JFrame, JLabel, JMenu, JPanel, JTextField}
5+
import javax.swing.{ BorderFactory, JButton, JDialog, JFrame, JLabel, JMenu, JPanel, JTextField }
66

77
import org.nlogo.app.App
88
import org.nlogo.core.I18N
9-
import org.nlogo.swing.{ButtonPanel, RichAction, RichJButton, Utils}
9+
import org.nlogo.swing.{ ButtonPanel, RichAction, RichJButton, Utils }
1010

1111
class ConfigEditor(owner: JFrame, config: PythonConfig) extends JDialog(owner, "Python configuration") {
1212
private val python2TextField = new JTextField(config.python2.getOrElse(""), 20)

src/main/PythonExtension.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ case class FindPython(pyFinder: () => Option[File],
210210
if (PythonExtension.isHeadless)
211211
None
212212
else {
213-
throw new ExtensionException("Couldn't find an appropriate version of Python. Please set the path to your Python executable in the configuration menu.")
213+
throw new ExtensionException("Couldn't find an appropriate version of Python. Please set the path to your Python executable in the Python > Configure menu.")
214214
}
215215
).getOrElse {
216216
throw new ExtensionException("Couldn't find Python 2. Try specifying an exact path or configuring a default Python 2.")

0 commit comments

Comments
 (0)