rTorrent import cleanup
This commit is contained in:
1 parent
c6403e87f1
commit
a94307c59f
1 file changed
+6
-7
@@ -1,20 +1,19 @@
|
|||||||
from base64 import b16encode, b32decode
|
from base64 import b16encode, b32decode
|
||||||
from datetime import timedelta
|
|
||||||
from hashlib import sha1
|
|
||||||
import shutil
|
|
||||||
from couchpotato.core.helpers.encoding import ss
|
|
||||||
from rtorrent.err import MethodError
|
|
||||||
|
|
||||||
from bencode import bencode, bdecode
|
from bencode import bencode, bdecode
|
||||||
from couchpotato.core.downloaders.base import Downloader, StatusList
|
from couchpotato.core.downloaders.base import Downloader, StatusList
|
||||||
|
from couchpotato.core.helpers.encoding import ss
|
||||||
from couchpotato.core.logger import CPLog
|
from couchpotato.core.logger import CPLog
|
||||||
|
from datetime import timedelta
|
||||||
|
from hashlib import sha1
|
||||||
from rtorrent import RTorrent
|
from rtorrent import RTorrent
|
||||||
|
from rtorrent.err import MethodError
|
||||||
|
import shutil
|
||||||
|
|
||||||
log = CPLog(__name__)
|
log = CPLog(__name__)
|
||||||
|
|
||||||
|
|
||||||
class rTorrent(Downloader):
|
class rTorrent(Downloader):
|
||||||
|
|
||||||
protocol = ['torrent', 'torrent_magnet']
|
protocol = ['torrent', 'torrent_magnet']
|
||||||
rt = None
|
rt = None
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user