Browse Source

Deluge fixes

pull/2063/merge
Ruud 12 years ago
parent
commit
b1b5f97f03
  1. 13
      couchpotato/core/downloaders/deluge/__init__.py
  2. 4
      libs/synchronousdeluge/__init__.py
  3. 6
      libs/synchronousdeluge/client.py

13
couchpotato/core/downloaders/deluge/__init__.py

@ -33,12 +33,6 @@ config = [{
'type': 'password',
},
{
'name': 'paused',
'type': 'bool',
'default': False,
'description': 'Add the torrent paused.',
},
{
'name': 'directory',
'type': 'directory',
'description': 'Download to this directory. Keep empty for default Deluge download directory.',
@ -70,6 +64,13 @@ config = [{
'description': 'Also remove the leftover files.',
},
{
'name': 'paused',
'type': 'bool',
'advanced': True,
'default': False,
'description': 'Add the torrent paused.',
},
{
'name': 'manual',
'default': 0,
'type': 'bool',

4
libs/synchronousdeluge/__init__.py

@ -19,6 +19,6 @@ __title__ = "synchronous-deluge"
__version__ = "0.1"
__author__ = "Christian Dale"
from .synchronousdeluge.client import DelugeClient
from .synchronousdeluge.exceptions import DelugeRPCError
from synchronousdeluge.client import DelugeClient
from synchronousdeluge.exceptions import DelugeRPCError

6
libs/synchronousdeluge/client.py

@ -3,9 +3,9 @@ import os
from collections import defaultdict
from itertools import imap
from .synchronousdeluge.exceptions import DelugeRPCError
from .synchronousdeluge.protocol import DelugeRPCRequest, DelugeRPCResponse
from .synchronousdeluge.transfer import DelugeTransfer
from synchronousdeluge.exceptions import DelugeRPCError
from synchronousdeluge.protocol import DelugeRPCRequest, DelugeRPCResponse
from synchronousdeluge.transfer import DelugeTransfer
__all__ = ["DelugeClient"]

Loading…
Cancel
Save