From: Holger Hees Date: Mon, 18 Mar 2024 19:05:57 +0000 (+0100) Subject: [jythonscripting] Updated documentation (#16541) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=bfa54435da3b111af430d9823524654ea2b92226;p=openhab-addons.git [jythonscripting] Updated documentation (#16541) Signed-off-by: Holger Hees --- diff --git a/bundles/org.openhab.automation.jythonscripting/README.md b/bundles/org.openhab.automation.jythonscripting/README.md index d9205c56fc..3fdd8f87b7 100644 --- a/bundles/org.openhab.automation.jythonscripting/README.md +++ b/bundles/org.openhab.automation.jythonscripting/README.md @@ -4,13 +4,13 @@ This add-on provides [Jython](https://www.jython.org/) 2.7 that can be used as a The `python.home` system property is set to the path of the add-on. -The `python.path` system property is set to `$OPENHAB_CONF/automation/lib/python`, but any existing `python.path` will be appended to it. +The `python.path` system property is set to `$OPENHAB_CONF/automation/jython/lib`, but any existing `python.path` will be appended to it. ## Creating Jython Scripts When this add-on is installed, you can select Jython as a scripting language when creating a script action within the rule editor of the UI. -Alternatively, you can create scripts in the `automation/jsr223` configuration directory. +Alternatively, you can create scripts in the `automation/jython` configuration directory. If you create an empty file called `test.py`, you will see a log line with information similar to: ```text