Page 1 of 1

script create plugin little add and a correction

Posted: Wed Nov 01, 2017 10:04 am
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 80 times


it's not an important update, there is no verification after the input, by example.

Re: script create plugin little add and a correction

Posted: Wed Nov 01, 2017 10:13 am
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