mirror of
https://github.com/NohamR/Ratio.py.git
synced 2025-07-08 12:57:12 +00:00
change transmission client to transmission 3.00
This commit is contained in:
parent
66f421891d
commit
ff2e1ad9e9
@ -1,5 +1,5 @@
|
|||||||
from code.decoding_bencoded import bencoding
|
from code.decoding_bencoded import bencoding
|
||||||
from code.torrentclientfactory import Transmission292
|
from code.torrentclientfactory import Transmission300
|
||||||
from code.pretty import pretty_data, pretty_GET
|
from code.pretty import pretty_data, pretty_GET
|
||||||
|
|
||||||
from hashlib import sha1
|
from hashlib import sha1
|
||||||
@ -19,7 +19,7 @@ class process_torrent():
|
|||||||
def __init__(self, configuration):
|
def __init__(self, configuration):
|
||||||
self.configuration = configuration
|
self.configuration = configuration
|
||||||
self.open_torrent()
|
self.open_torrent()
|
||||||
self.torrentclient = Transmission292(self.tracker_info_hash())
|
self.torrentclient = Transmission300(self.tracker_info_hash())
|
||||||
|
|
||||||
def open_torrent(self):
|
def open_torrent(self):
|
||||||
torrent_file = self.configuration['torrent']
|
torrent_file = self.configuration['torrent']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user