Move deluge lib to libs folder
This commit is contained in:
1 parent
ae1f181fbf
commit
48f4b008df
7 files changed
+11
-10
No files matched your search
@@ -5,14 +5,13 @@ from couchpotato.core.helpers.encoding import isInt
|
|||||||
from couchpotato.core.logger import CPLog
|
from couchpotato.core.logger import CPLog
|
||||||
from couchpotato.environment import Env
|
from couchpotato.environment import Env
|
||||||
from datetime import timedelta
|
from datetime import timedelta
|
||||||
|
|
||||||
from synchronousdeluge import DelugeClient
|
from synchronousdeluge import DelugeClient
|
||||||
|
|
||||||
import os.path
|
import os.path
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
log = CPLog(__name__)
|
log = CPLog(__name__)
|
||||||
|
|
||||||
|
|
||||||
class Deluge(Downloader):
|
class Deluge(Downloader):
|
||||||
|
|
||||||
protocol = ['torrent', 'torrent_magnet']
|
protocol = ['torrent', 'torrent_magnet']
|
||||||
@@ -238,4 +237,3 @@ class DelugeRPC(object):
|
|||||||
|
|
||||||
def disconnect(self):
|
def disconnect(self):
|
||||||
self.client.disconnect()
|
self.client.disconnect()
|
||||||
|
|
||||||
+2
-2
@@ -19,6 +19,6 @@ __title__ = "synchronous-deluge"
|
|||||||
__version__ = "0.1"
|
__version__ = "0.1"
|
||||||
__author__ = "Christian Dale"
|
__author__ = "Christian Dale"
|
||||||
|
|
||||||
from .client import DelugeClient
|
from .synchronousdeluge.client import DelugeClient
|
||||||
from .exceptions import DelugeRPCError
|
from .synchronousdeluge.exceptions import DelugeRPCError
|
||||||
|
|
||||||
+3
-3
@@ -3,9 +3,9 @@ import os
|
|||||||
from collections import defaultdict
|
from collections import defaultdict
|
||||||
from itertools import imap
|
from itertools import imap
|
||||||
|
|
||||||
from .exceptions import DelugeRPCError
|
from .synchronousdeluge.exceptions import DelugeRPCError
|
||||||
from .protocol import DelugeRPCRequest, DelugeRPCResponse
|
from .synchronousdeluge.protocol import DelugeRPCRequest, DelugeRPCResponse
|
||||||
from .transfer import DelugeTransfer
|
from .synchronousdeluge.transfer import DelugeTransfer
|
||||||
|
|
||||||
__all__ = ["DelugeClient"]
|
__all__ = ["DelugeClient"]
|
||||||
|
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
+5
-2
@@ -1,7 +1,10 @@
|
|||||||
import zlib
|
import zlib
|
||||||
import struct
|
import struct
|
||||||
import socket, ssl
|
import socket
|
||||||
from . import rencode
|
import ssl
|
||||||
|
|
||||||
|
from synchronousdeluge import rencode
|
||||||
|
|
||||||
|
|
||||||
__all__ = ["DelugeTransfer"]
|
__all__ = ["DelugeTransfer"]
|
||||||
|
|
||||||
Reference in new issue
Block a user