Where can my plugin save arbitrary files?

Suggest, post, or discuss plugins for Deluge
Post Reply
tabua
New User
New User
Posts: 3
Joined: Wed Jan 11, 2012 5:51 pm

Where can my plugin save arbitrary files?

Post by tabua »

So, I'm experimenting with deluge plugin system. So far I'm impressed with how neatly designed the plugin system is, but I still have some basic doubts.

I need to save some data into files. Some data really need to be saved into files sue a third party module that requires so. Where would I place such files?

Is there any variable that holds the plugin 'userdir' or do I need to set it manually, in which case, where?

Would

Code: Select all

./local/share/deluge/plugins/myplugin
be a good location for this?
Post Reply