summaryrefslogtreecommitdiffstats
path: root/docs/write_plugins.rst
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-17 17:28:58 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-17 17:28:58 +0200
commit938b7e6141e2895c7d41b0e8ef4b9416912e2e9e (patch)
tree6ceef0718139a13ced3fb607634fa60fc81212c4 /docs/write_plugins.rst
parentSpare code cosmetics (3) (diff)
downloadpyload-938b7e6141e2895c7d41b0e8ef4b9416912e2e9e.tar.xz
Spare code cosmetics (4)
Diffstat (limited to 'docs/write_plugins.rst')
-rw-r--r--docs/write_plugins.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/write_plugins.rst b/docs/write_plugins.rst
index 64868d638..af35a8d55 100644
--- a/docs/write_plugins.rst
+++ b/docs/write_plugins.rst
@@ -21,6 +21,7 @@ How basic hoster plugin header could look like: ::
from pyload.plugin.Hoster import Hoster
+
class MyFileHoster(Hoster):
__name = "MyFileHoster"
__version = "0.1"
@@ -43,6 +44,7 @@ An example ``process`` function could look like this ::
from pyload.plugin.Hoster import Hoster
+
class MyFileHoster(Hoster):
"""
plugin code
@@ -83,6 +85,7 @@ Example: ::
from pyload.plugin.Crypter import Crypter
+
class MyFileCrypter(Crypter):
"""
plugin code