aboutsummaryrefslogtreecommitdiffhomepage
path: root/backends/python.md
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2021-06-27 16:20:52 +0200
committercbdev <cb@cbcdn.com>2021-06-27 16:20:52 +0200
commit011be343cd1427a1be68f9a0da38401b89de0fec (patch)
treeee274102f241fe1e1902591e83851aa0328ec363 /backends/python.md
parente28bfea439d09bd0e9fabc865c83ce73e6b16b37 (diff)
downloadmidimonster-011be343cd1427a1be68f9a0da38401b89de0fec.tar.gz
midimonster-011be343cd1427a1be68f9a0da38401b89de0fec.tar.bz2
midimonster-011be343cd1427a1be68f9a0da38401b89de0fec.zip
Fix python backend calls
Diffstat (limited to 'backends/python.md')
-rw-r--r--backends/python.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/python.md b/backends/python.md
index 2114a08..1c0c96f 100644
--- a/backends/python.md
+++ b/backends/python.md
@@ -79,8 +79,8 @@ The `python` backend does not take any global configuration.
| Option | Example value | Default value | Description |
|-----------------------|-----------------------|-----------------------|-----------------------------------------------|
-| `module` | `my_handlers.py` | none | (Path to) Python module source file, relative to configuration file location |
-| `default-handler` | `mu_handlers.default` | none | Function to be called as handler for all top-level channels (not belonging to a module) |
+| `module` | `my_handlers` | none | Name of the python module to load (normally the name of a`.py` file without the extension) |
+| `default-handler` | `my_handlers.default` | none | Function to be called as handler for all top-level channels (not belonging to a module) |
A single instance may have multiple `module` options specified. This will make all handlers available within their
module namespaces (see the section on channel specification).