script create plugin little add and a correction

Suggest, post, or discuss plugins for Deluge
daerlnaxe
Member
Member
Posts: 12
Joined: Wed Nov 01, 2017 9:59 am
OS or Distro: ubuntu 16

script create plugin little add and a correction

Postby daerlnaxe » Wed Nov 01, 2017 10:04 am

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 9 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
OS or Distro: ubuntu 16

Re: script create plugin little add and a correction

Postby daerlnaxe » Wed Nov 01, 2017 10:13 am

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


Return to “Plugins”

Who is online

Users browsing this forum: No registered users and 4 guests