Where can my plugin save arbitrary files?

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

Where can my plugin save arbitrary files?

Postby tabua » Sat Feb 25, 2012 4:07 am

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?

Return to “Plugins”

Who is online

Users browsing this forum: No registered users and 3 guests