Hello, I'm currently working on a project with multiple submodules and I'm running into a problem.
Let's say I have it set up like this:
plugins/test/test.py
plugins/test/modules/module.py
And I'm importing module.py in test.py like this:
from test.modules import module
Now when I unload the main script, the unload() function in module.py won't be executed.
Is there any way I can do stuff in module.py when unloading test.py?
unloading a sub module?
Return to “Plugin Development Support”
Who is online
Users browsing this forum: Bing [Bot] and 109 guests