Skip to content

Commit 4b61216

Browse files
committed
updated typo
1 parent 9f6a368 commit 4b61216

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ want to call
4848
- add `"bundle": {"resources": [ "src-python/**/*"],` to `tauri.conf.json` so that python files are bundled with your application
4949
- add the plugin in your js, so
5050
- add `import { callFunction } from 'tauri-plugin-python-api'`
51-
- add `outputEl.textContent = await tauri.python.callFunction("greet_python", [value])` to get the output of the python function `greet_python` with parameter of js variable `value`
51+
- add `outputEl.textContent = await callFunction("greet_python", [value])` to get the output of the python function `greet_python` with parameter of js variable `value`
5252

5353
Check the examples for alternative function calls and code sugar.
5454

0 commit comments

Comments
 (0)