Closed unicornrobot closed 6 years ago
That's mostly it. My guess is you're missing the run
function in you program that is its entry point. It should also take an extra parameter called params
that can pass additional information.
#/app/programs/original/my_program.py
def run(params):
#Your program here
If that isn't it, post your program code and __init__.py
and I'll take a look.
@unicornrobot let me know if that solved your problem so I can close this issue.
Me again :) Looking to add more programs to the list. I've put my .py file in
/app/programs/original/
I tried to add it to the the list as per structure in/app/programs/__init__.py
but I guess there might be more to it than that? Sorry for basic question..I'm a tinkerer not a coder, but learning..Thanks!