script create plugin little add and a correction

Suggest, post, or discuss plugins for Deluge
Post Reply
daerlnaxe
Member
Member
Posts: 12
Joined: Wed Nov 01, 2017 9:59 am

script create plugin little add and a correction

Post by daerlnaxe »

Hi

I'm a bit allergic to commande lines so if it interest somebody i made a little add in the script and made a little correction.

For the correction instead of
if not options.author_email:
print "--author-email is mandatory , use -h for more info"
return
if not options.author_email:
print "--author-name is mandatory , use -h for more info"
return
if not options.author_email:
print "--author-email is mandatory , use -h for more info"
return
if not options.author_name:
print "--author-name is mandatory , use -h for more info"
return
i think it's just a copy/paste problem.

For the version with input see the attachment.
create_plugin.zip
(3.89 KiB) Downloaded 161 times
it's not an important update, there is no verification after the input, by example.
daerlnaxe
Member
Member
Posts: 12
Joined: Wed Nov 01, 2017 9:59 am

Re: script create plugin little add and a correction

Post by daerlnaxe »

I would signal also that in the tutorial to learn how to develop modules there is a dead link: http://deluge-torrent.org/docs/current/ ... onfig.html
Post Reply