When you speak of loading, are you meaning __init__? I tried
- Code: Select all
self.plugin_dir = os.getcwdu()
and then printed it in my routine and it was /. Trying to use / when loading a file later generated an error because it was looking for the file at the filesystem's root. So I'm a bit confused.
Any chance you will consider adding something that let's the plugin discover where it is?