05.08.2025, 18:36
Hello everyone,
I have followed the instructions on this page but it does not work as I expected.
When I'm on the applications page, I enter a value, save and when I open again the value is displayed, so it's saved correctly, but when I call the same thing from a lua code, I don't get the same value.
By saving in lua I get the right value but only in lua.
thanks you for help
the first log is empty
the second log show this :
I have followed the instructions on this page but it does not work as I expected.
When I'm on the applications page, I enter a value, save and when I open again the value is displayed, so it's saved correctly, but when I call the same thing from a lua code, I don't get the same value.
By saving in lua I get the right value but only in lua.
thanks you for help
Code:
require("apps")
log(config.getall('myapp'))
log(config.get('myapp', 'delay', 15))
the first log is empty
the second log show this :
Code:
* arg: 1
* number: 15
* arg: 2
* nil